2 writes to Patterns
Microsoft.AspNetCore.Hosting (2)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (2)
400
existingNode.
Patterns
= value.Patterns;
409
existingNode.
Patterns
= newList;
15 references to Patterns
Microsoft.AspNetCore.Hosting (15)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (15)
90
var depth = candidate.
Patterns
[0].Depth;
92
foreach (var pattern in candidate.
Patterns
)
169
patterns.AddRange(candidate.
Patterns
);
349
[MemberNotNullWhen(true, nameof(
Patterns
))]
350
internal bool HasPatterns() =>
Patterns
!= null &&
Patterns
.Length > 0;
396
if (value.
Patterns
!= null)
398
if (existingNode.
Patterns
== null)
400
existingNode.Patterns = value.
Patterns
;
404
if (value.
Patterns
.Length > 0)
406
var newList = new StaticWebAssetPattern[existingNode.
Patterns
.Length + value.
Patterns
.Length];
407
existingNode.
Patterns
.CopyTo(newList, 0);
408
value.
Patterns
.CopyTo(newList, existingNode.
Patterns
.Length);