45 references to AddIncludePatterns
Microsoft.NET.Sdk.StaticWebAssets.Tasks (5)
Compression\ResolveCompressedAssets.cs (1)
65.AddIncludePatterns(includePatterns)
DefineStaticWebAssets.cs (2)
95new StaticWebAssetGlobMatcherBuilder().AddIncludePatterns(RelativePathPattern).Build() : 99new StaticWebAssetGlobMatcherBuilder().AddIncludePatterns(RelativePathFilter).Build() :
FingerprintPatternMatcher.cs (2)
34builder.AddIncludePatterns(pattern.GetMetadata("Pattern")); 177public StaticWebAssetGlobMatcher Matcher => _matcher ??= new StaticWebAssetGlobMatcherBuilder().AddIncludePatterns(Pattern).Build();
Microsoft.NET.Sdk.StaticWebAssets.Tests (40)
StaticWebAssets\Globbing\StaticWebAssetGlobMatcherTest.Compatibility.cs (19)
12matcher.AddIncludePatterns("alpha.txt"); 24matcher.AddIncludePatterns("alpha.txt"); 35matcher.AddIncludePatterns("beta/alpha.txt"); 52matcher.AddIncludePatterns(includePattern); 71matcher.AddIncludePatterns(includes); 91matcher.AddIncludePatterns(includes); 113matcher.AddIncludePatterns(includes); 136matcher.AddIncludePatterns(includePattern); 150matcher.AddIncludePatterns("*.*"); 164matcher.AddIncludePatterns("*/*.txt"); 178matcher.AddIncludePatterns("*/*.txt"); 193matcher.AddIncludePatterns("one/**"); 207matcher.AddIncludePatterns("**/*.cs"); 221matcher.AddIncludePatterns("one/**/*.cs"); 235matcher.AddIncludePatterns("*.cs", "*/*.cs", "*/*/*.cs"); 250matcher.AddIncludePatterns("**/x/**"); 264matcher.AddIncludePatterns("a/b/**/1/2/**/2/3/**"); 278matcher.AddIncludePatterns("**"); 292matcher.AddIncludePatterns("**");
StaticWebAssets\Globbing\StaticWebAssetGlobMatcherTest.cs (21)
45matcher.AddIncludePatterns(pattern); 57matcher.AddIncludePatterns("a"); 70matcher.AddIncludePatterns("a/b"); 83matcher.AddIncludePatterns("*.a"); 95matcher.AddIncludePatterns("*.a", "*.b.a"); 107matcher.AddIncludePatterns("*.a/b"); 119matcher.AddIncludePatterns("a/*.b"); 131matcher.AddIncludePatterns("a/*.b/c"); 152matcher.AddIncludePatterns(pattern); 174matcher.AddIncludePatterns(pattern); 207matcher.AddIncludePatterns(pattern); 247matcher.AddIncludePatterns(pattern); 300matcher.AddIncludePatterns(pattern); 320matcher.AddIncludePatterns("*"); 332matcher.AddIncludePatterns("*/a"); 344matcher.AddIncludePatterns("a/*"); 356matcher.AddIncludePatterns("a/*/c"); 368matcher.AddIncludePatterns("**"); 380matcher.AddIncludePatterns("**/a"); 392matcher.AddIncludePatterns("a/**"); 404matcher.AddIncludePatterns("a/**/c");