3 instantiations of WarningHeaderValue
System.Net.Http (3)
System\Net\Http\Headers\WarningHeaderValue.cs (3)
31
new
WarningHeaderValue
(code, agent, text);
177
parsedValue = new
WarningHeaderValue
(code, agent, text, date);
282
return new
WarningHeaderValue
(this);
14 references to WarningHeaderValue
netstandard (1)
netstandard.cs (1)
1122
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.
WarningHeaderValue
))]
System.Net.Http (13)
System\Net\Http\Headers\GenericHeaderParser.cs (2)
37
internal static readonly GenericHeaderParser SingleValueWarningParser = new GenericHeaderParser(false,
WarningHeaderValue
.GetWarningLength);
38
internal static readonly GenericHeaderParser MultipleValueWarningParser = new GenericHeaderParser(true,
WarningHeaderValue
.GetWarningLength);
System\Net\Http\Headers\HttpGeneralHeaders.cs (3)
17
private HttpHeaderValueCollection<
WarningHeaderValue
>? _warning;
140
public HttpHeaderValueCollection<
WarningHeaderValue
> Warning =>
141
_warning ??= new HttpHeaderValueCollection<
WarningHeaderValue
>(KnownHeaders.Warning.Descriptor, _parent);
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
261
public HttpHeaderValueCollection<
WarningHeaderValue
> Warning
System\Net\Http\Headers\HttpResponseHeaders.cs (1)
129
public HttpHeaderValueCollection<
WarningHeaderValue
> Warning
System\Net\Http\Headers\WarningHeaderValue.cs (6)
65
private WarningHeaderValue(
WarningHeaderValue
source)
99
obj is
WarningHeaderValue
other &&
116
public static
WarningHeaderValue
Parse(string input)
119
return (
WarningHeaderValue
)GenericHeaderParser.SingleValueWarningParser.ParseValue(input, null, ref index);
122
public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out
WarningHeaderValue
? parsedValue)
129
parsedValue = (
WarningHeaderValue
)output!;