3 instantiations of StaticAssetResponseHeader
Microsoft.AspNetCore.StaticAssets (3)
_generated\3\StaticAssetsManifestJsonContext.StaticAssetResponseHeader.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader((string)args[0], (string)args[1]),
Development\StaticAssetDevelopmentRuntimeHandler.cs (1)
356responseHeaders.Insert(i, new StaticAssetResponseHeader(HeaderNames.CacheControl, "no-cache"));
StaticAssetsInvoker.cs (1)
51_remainingHeaders.Add(new StaticAssetResponseHeader("ETag", _etag.ToString()));
48 references to StaticAssetResponseHeader
Microsoft.AspNetCore.StaticAssets (48)
_generated\1\StaticAssetsManifestJsonContext.StaticAssetDescriptor.g.cs (3)
163var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>> 178AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetDescriptor).GetProperty("ResponseHeaders", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>), global::System.Array.Empty<global::System.Type>(), null), 181properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>>(options, info5);
_generated\13\StaticAssetsManifestJsonContext.GetJsonTypeInfo.g.cs (2)
30if (type == typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader)) 46if (type == typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>))
_generated\3\StaticAssetsManifestJsonContext.StaticAssetResponseHeader.g.cs (19)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>? _StaticAssetResponseHeader; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader> StaticAssetResponseHeader 22get => _StaticAssetResponseHeader ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>)Options.GetTypeInfo(typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader> Create_StaticAssetResponseHeader(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string)}, modifiers: null), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader), 60Getter = static obj => ((global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader)obj).Name, 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 79DeclaringType = typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader), 81Getter = static obj => ((global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader)obj).Value, 89AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader).GetProperty("Value", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 100private void StaticAssetResponseHeaderSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader? value) 110writer.WriteString(PropName_Name, ((global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader)value).Name); 111writer.WriteString(PropName_Value, ((global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader)value).Value);
_generated\7\StaticAssetsManifestJsonContext.IReadOnlyListStaticAssetResponseHeader.g.cs (12)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>>? _IReadOnlyListStaticAssetResponseHeader; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>> IReadOnlyListStaticAssetResponseHeader 22get => _IReadOnlyListStaticAssetResponseHeader ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>> Create_IReadOnlyListStaticAssetResponseHeader(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>, global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>(options, info); 47private void IReadOnlyListStaticAssetResponseHeaderSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IReadOnlyList<global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader>? value) 57foreach (global::Microsoft.AspNetCore.StaticAssets.StaticAssetResponseHeader element in value)
Development\StaticAssetDescriptorExtensions.cs (4)
14foreach (var header in descriptor.ResponseHeaders) 27foreach (var header in descriptor.ResponseHeaders) 40foreach (var header in descriptor.ResponseHeaders) 70foreach (var header in descriptor.ResponseHeaders)
Development\StaticAssetDevelopmentRuntimeHandler.cs (3)
96var header = descriptor.ResponseHeaders[i]; 346var responseHeaders = new List<StaticAssetResponseHeader>(descriptor.ResponseHeaders); 350var responseHeader = descriptor.ResponseHeaders[i];
StaticAssetDescriptor.cs (2)
21private IReadOnlyList<StaticAssetResponseHeader> _responseHeaders = []; 76public IReadOnlyList<StaticAssetResponseHeader> ResponseHeaders
StaticAssetsInvoker.cs (3)
28private readonly List<StaticAssetResponseHeader> _remainingHeaders; 39foreach (var responseHeader in resource.ResponseHeaders) 105foreach (var header in _remainingHeaders ?? [])