1 instantiation of StaticAssetSelector
Microsoft.AspNetCore.StaticAssets (1)
_generated\4\StaticAssetsManifestJsonContext.StaticAssetSelector.g.cs (1)
32
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
((string)args[0], (string)args[1], (string)args[2]),
44 references to StaticAssetSelector
Microsoft.AspNetCore.StaticAssets (44)
_generated\1\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.
StaticAssetSelector
>>
134
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),
137
properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>>(options, info3);
_generated\13\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
>))
_generated\4\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),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
),
60
Getter = static obj => ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)obj).Name,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
),
81
Getter = static obj => ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)obj).Value,
89
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
),
102
Getter = static obj => ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)obj).Quality,
110
AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
).GetProperty("Quality", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
121
private void StaticAssetSelectorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
? value)
131
writer.WriteString(PropName_Name, ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)value).Name);
132
writer.WriteString(PropName_Value, ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)value).Value);
133
writer.WriteString(PropName_Quality, ((global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
)value).Quality);
_generated\8\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
>>
37
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);
47
private void IReadOnlyListStaticAssetSelectorSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
>? value)
57
foreach (global::Microsoft.AspNetCore.StaticAssets.
StaticAssetSelector
element in value)
Development\StaticAssetDescriptorExtensions.cs (1)
57
foreach (
var
selector in descriptor.Selectors)
StaticAssetDescriptor.cs (2)
19
private IReadOnlyList<
StaticAssetSelector
> _selectors = [];
56
public IReadOnlyList<
StaticAssetSelector
> Selectors
StaticAssetEndpointFactory.cs (1)
30
foreach (
var
selector in resource.Selectors)