3 instantiations of StaticAssetProperty
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsManifestJsonContext.StaticAssetProperty.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty((string)args[0], (string)args[1]),
Microsoft.AspNetCore.StaticAssets.Tests (2)
StaticAssetsIntegrationTests.cs (2)
501Properties = [new("integrity", $"sha256-{hash}")], 522Properties = [new("original-resource", $"\"{GetEtag(resource.Content)}\"")],
45 references to StaticAssetProperty
Microsoft.AspNetCore.Components.Endpoints (1)
src\Shared\Components\ResourceCollectionResolver.cs (1)
68var property = descriptor.Properties[i];
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
src\Shared\Components\ResourceCollectionResolver.cs (1)
68var property = descriptor.Properties[i];
Microsoft.AspNetCore.StaticAssets (41)
Development\StaticAssetDevelopmentRuntimeHandler.cs (3)
79var property = descriptor.Properties[i]; 334var propertiesList = new List<StaticAssetProperty>(descriptor.Properties); 337var property = descriptor.Properties[i];
StaticAssetDescriptor.cs (2)
19private IReadOnlyList<StaticAssetProperty> _endpointProperties = []; 55public IReadOnlyList<StaticAssetProperty> Properties
StaticAssetsManifestJsonContext.GetJsonTypeInfo.g.cs (2)
26if (type == typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty)) 42if (type == typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>))
StaticAssetsManifestJsonContext.IReadOnlyListStaticAssetProperty.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>>? _IReadOnlyListStaticAssetProperty; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>> IReadOnlyListStaticAssetProperty 22get => _IReadOnlyListStaticAssetProperty ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>> Create_IReadOnlyListStaticAssetProperty(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>> 35jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>, global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>(options, info); 45private void IReadOnlyListStaticAssetPropertySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>? value) 55foreach (global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty element in value)
StaticAssetsManifestJsonContext.StaticAssetDescriptor.g.cs (3)
119var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>> 134AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetDescriptor).GetProperty("Properties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>), global::System.Array.Empty<global::System.Type>(), null), 137properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>>(options, info3);
StaticAssetsManifestJsonContext.StaticAssetProperty.g.cs (19)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>? _StaticAssetProperty; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty> StaticAssetProperty 22get => _StaticAssetProperty ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty> Create_StaticAssetProperty(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string)}, modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty), 58Getter = static obj => ((global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty)obj).Name, 66AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 77DeclaringType = typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty), 79Getter = static obj => ((global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty)obj).Value, 87AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 98private void StaticAssetPropertySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty? value) 108writer.WriteString(PropName_Name, ((global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty)value).Name); 109writer.WriteString(PropName_Value, ((global::Microsoft.AspNetCore.StaticAssets.StaticAssetProperty)value).Value);
Microsoft.AspNetCore.StaticAssets.Tests (2)
StaticAssetsIntegrationTests.cs (2)
212var integrity = descriptors[0].Properties.FirstOrDefault(p => p.Name == "integrity"); 269var integrity = descriptors[0].Properties.FirstOrDefault(p => p.Name == "integrity");