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