1 instantiation of MediaTypeState
Microsoft.AspNetCore.HttpLogging (1)
MediaTypeOptions.cs (1)
40
_mediaTypeStates.Add(new
MediaTypeState
(mediaType) { Encoding = mediaType.Encoding });
4 references to MediaTypeState
Microsoft.AspNetCore.HttpLogging (4)
MediaTypeHelpers.cs (2)
22
public static bool TryGetEncodingForMediaType(string? contentType, List<
MediaTypeState
> mediaTypeList, [NotNullWhen(true)] out Encoding? encoding)
35
foreach (
var
state in mediaTypeList)
MediaTypeOptions.cs (2)
14
private readonly List<
MediaTypeState
> _mediaTypeStates = new();
20
internal List<
MediaTypeState
> MediaTypeStates => _mediaTypeStates;