6 instantiations of StaticWebAssetNode
Microsoft.NET.Sdk.StaticWebAssets.Tasks (6)
_generated\1\StaticWebAssetsJsonSerializerContext.StaticWebAssetNode.g.cs (1)
31
ObjectCreator = () => new global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
(),
GenerateStaticWebAssetsDevelopmentManifest.cs (5)
174
var root = new
StaticWebAssetNode
() { };
194
currentNode.Children.Add(segment, new
StaticWebAssetNode
209
var newNode = new
StaticWebAssetNode
269
childNode = new
StaticWebAssetNode
291
var newNode = new
StaticWebAssetNode
63 references to StaticWebAssetNode
Microsoft.NET.Sdk.StaticWebAssets.Tasks (63)
_generated\1\StaticWebAssetsJsonSerializerContext.StaticWebAssetNode.g.cs (29)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>? _StaticWebAssetNode;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
> StaticWebAssetNode
22
get => _StaticWebAssetNode ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
> Create_StaticWebAssetNode(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
).GetConstructor(InstanceMemberBindingFlags, binder: null, global::System.Array.Empty<global::System.Type>(), modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>(options, objectInfo);
51
var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>>
56
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
),
58
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
)obj).Children,
59
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
)obj).Children = value!,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
).GetProperty("Children", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>), global::System.Array.Empty<global::System.Type>(), null),
69
properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>>(options, info0);
76
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
),
78
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
)obj).Asset,
79
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
)obj).Asset = value!,
86
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
).GetProperty("Asset", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.StaticWebAssetMatch), global::System.Array.Empty<global::System.Type>(), null),
96
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
),
98
Getter = static obj => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
)obj).Patterns,
99
Setter = static (obj, value) => ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
)obj).Patterns = value!,
106
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
).GetProperty("Patterns", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.StaticWebAssetPattern[]), global::System.Array.Empty<global::System.Type>(), null),
116
private void StaticWebAssetNodeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
? value)
127
DictionaryStringStaticWebAssetNodeSerializeHandler(writer, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
)value).Children);
129
StaticWebAssetMatchSerializeHandler(writer, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
)value).Asset);
131
StaticWebAssetPatternArraySerializeHandler(writer, ((global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
)value).Patterns);
_generated\22\StaticWebAssetsJsonSerializerContext.DictionaryStringStaticWebAssetNode.g.cs (13)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>>? _DictionaryStringStaticWebAssetNode;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>> DictionaryStringStaticWebAssetNode
22
get => _DictionaryStringStaticWebAssetNode ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>> Create_DictionaryStringStaticWebAssetNode(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>>
31
ObjectCreator = () => new global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>(),
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateDictionaryInfo<global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>, string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>(options, info);
45
private void DictionaryStringStaticWebAssetNodeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>? value)
55
foreach (global::System.Collections.Generic.KeyValuePair<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
> entry in value)
_generated\30\StaticWebAssetsJsonSerializerContext.GetJsonTypeInfo.g.cs (2)
26
if (type == typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
))
110
if (type == typeof(global::System.Collections.Generic.Dictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>))
_generated\4\StaticWebAssetsJsonSerializerContext.StaticWebAssetsDevelopmentManifest.g.cs (3)
71
var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>
86
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.StaticWebAssetsDevelopmentManifest).GetProperty("Root", InstanceMemberBindingFlags, null, typeof(global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
), global::System.Array.Empty<global::System.Type>(), null),
89
properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.AspNetCore.StaticWebAssets.Tasks.GenerateStaticWebAssetsDevelopmentManifest.
StaticWebAssetNode
>(options, info1);
GenerateStaticWebAssetsDevelopmentManifest.cs (16)
174
var
root = new StaticWebAssetNode() { };
177
var
currentNode = root;
193
currentNode.Children ??= new Dictionary<string,
StaticWebAssetNode
>(StringComparer.Ordinal);
202
currentNode.Children ??= new Dictionary<string,
StaticWebAssetNode
>(StringComparer.Ordinal);
203
if (currentNode.Children.TryGetValue(segment, out
var
existing))
209
var
newNode = new StaticWebAssetNode
211
Children = new Dictionary<string,
StaticWebAssetNode
>(StringComparer.Ordinal)
222
var
currentNode = root;
266
currentNode.Children ??= new Dictionary<string,
StaticWebAssetNode
>(StringComparer.Ordinal);
267
if (!currentNode.Children.TryGetValue(segment, out
var
childNode))
284
currentNode.Children ??= new Dictionary<string,
StaticWebAssetNode
>(StringComparer.Ordinal);
285
if (currentNode.Children.TryGetValue(segment, out
var
existing))
291
var
newNode = new StaticWebAssetNode
293
Children = new Dictionary<string,
StaticWebAssetNode
>(StringComparer.Ordinal)
345
public
StaticWebAssetNode
Root { get; set; }
363
public Dictionary<string,
StaticWebAssetNode
> Children { get; set; }