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 1919 </Interfaces >
2020 <Docs >
2121 <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 >
3336 <remarks >To be added.</remarks >
3437 </Docs >
3538 <Members >
You can’t perform that action at this time.
0 commit comments