Skip to content

Commit f26d050

Browse files
authored
Experiment
1 parent 40da5cd commit f26d050

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

xml/Microsoft.Build.Globbing/MSBuildGlobWithGaps.xml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,20 @@
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>

0 commit comments

Comments
 (0)