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