File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed
xml/Microsoft.Build.Globbing Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change 19
19
</Interfaces >
20
20
<Docs >
21
21
<summary >
22
- A glob with gaps. The gaps are represented as other globs.
23
- For example, to express a glob that matches all .cs files except the ones containing "foo" and the ones under bin directories, one can use:
24
- <code >
25
- new MSBuildGlobWithGaps(
26
- MSBuildGlob.Parse("**/*.cs"), // matches all .cs files
27
- new CompositeGlob( // a composite glob to combine all the gaps
28
- MSBuildGlob.Parse("**/*foo*.cs"), // matches .cs files containing "foo"
29
- MSBuildGlob.Parse("**/bin/**/*.cs") // matches .cs files under bin directories
30
- )
31
- )
32
- </code ></summary >
22
+ A glob with gaps. The gaps are represented as other globs.
23
+ </summary >
24
+ <example >
25
+ To express a glob that matches all .cs files except the ones containing "foo" and the ones under bin directories, use:
26
+ <code >
27
+ new MSBuildGlobWithGaps(
28
+ MSBuildGlob.Parse("**/*.cs"), // matches all .cs files
29
+ new CompositeGlob( // a composite glob to combine all the gaps
30
+ MSBuildGlob.Parse("**/*foo*.cs"), // matches .cs files containing "foo"
31
+ MSBuildGlob.Parse("**/bin/**/*.cs") // matches .cs files under bin directories
32
+ )
33
+ )
34
+ </code >
35
+ </example >
33
36
<remarks >To be added.</remarks >
34
37
</Docs >
35
38
<Members >
You can’t perform that action at this time.
0 commit comments