2 instantiations of StaticAssetSelector
Microsoft.AspNetCore.StaticAssets (1)
StaticAssetsManifestJsonContext.StaticAssetSelector.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
((string)args[0], (string)args[1], (string)args[2]),
Microsoft.AspNetCore.StaticAssets.Tests (1)
StaticAssetsIntegrationTests.cs (1)
521
Selectors = [new
StaticAssetSelector
("Content-Encoding", "gzip", "1.0")],
44 references to StaticAssetSelector
Microsoft.AspNetCore.StaticAssets (44)
Development\StaticAssetDescriptorExtensions.cs (1)
57
foreach (
var
selector in descriptor.Selectors)
StaticAssetDescriptor.cs (2)
18
private IReadOnlyList<
StaticAssetSelector
> _selectors = [];
45
public IReadOnlyList<
StaticAssetSelector
> Selectors
StaticAssetEndpointFactory.cs (1)
29
foreach (
var
selector in resource.Selectors)
StaticAssetsManifestJsonContext.GetJsonTypeInfo.g.cs (2)
34
if (type == typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
))
50
if (type == typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>))
StaticAssetsManifestJsonContext.IReadOnlyListStaticAssetSelector.g.cs (12)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>>? _IReadOnlyListStaticAssetSelector;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>> IReadOnlyListStaticAssetSelector
22
get => _IReadOnlyListStaticAssetSelector ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>> Create_IReadOnlyListStaticAssetSelector(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>> jsonTypeInfo))
29
var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>>
35
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>, global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>(options, info);
45
private void IReadOnlyListStaticAssetSelectorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>? value)
55
foreach (global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
element in value)
StaticAssetsManifestJsonContext.StaticAssetDescriptor.g.cs (3)
97
var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>>
112
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetDescriptor).GetProperty("Selectors", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>), global::System.Array.Empty<global::System.Type>(), null),
115
properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>>(options, info2);
StaticAssetsManifestJsonContext.StaticAssetSelector.g.cs (23)
13
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>? _StaticAssetSelector;
19
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
> StaticAssetSelector
22
get => _StaticAssetSelector ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
));
25
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
> Create_StaticAssetSelector(global::System.Text.Json.JsonSerializerOptions options)
27
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
> jsonTypeInfo))
29
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>
35
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(string)}, modifiers: null),
39
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>(options, objectInfo);
56
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
),
58
Getter = static obj => ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)obj).Name,
66
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
77
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
),
79
Getter = static obj => ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)obj).Value,
87
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
),
100
Getter = static obj => ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)obj).Quality,
108
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
).GetProperty("Quality", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
119
private void StaticAssetSelectorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
? value)
129
writer.WriteString(PropName_Name, ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)value).Name);
130
writer.WriteString(PropName_Value, ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)value).Value);
131
writer.WriteString(PropName_Quality, ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)value).Quality);