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