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