2 overrides of TryParseValue
Microsoft.Net.Http.Headers (2)
BaseHeaderParser.cs (1)
17
public sealed override bool
TryParseValue
(StringSegment value, ref int index, out T? parsedValue)
CookieHeaderParser.cs (1)
15
public override bool
TryParseValue
(StringSegment value, ref int index, out CookieHeaderValue? cookieValue)
14 references to TryParseValue
Microsoft.Net.Http.Headers (14)
CacheControlHeaderValue.cs (2)
510
if (Parser.
TryParseValue
(input, ref index, out parsedValue) && parsedValue != null)
535
if (!NameValueHeaderValue.MultipleValueParser.
TryParseValue
(input, ref current, out var nameValue))
ContentDispositionHeaderValue.cs (1)
271
return Parser.
TryParseValue
(input, ref index, out parsedValue!);
ContentRangeHeaderValue.cs (1)
224
return Parser.
TryParseValue
(input, ref index, out parsedValue);
EntityTagHeaderValue.cs (1)
165
return SingleValueParser.
TryParseValue
(input, ref index, out parsedValue);
HttpHeaderParser.cs (3)
39
if (!
TryParseValue
(value, ref index, out var result))
75
if (
TryParseValue
(value, ref index, out var output))
132
if (
TryParseValue
(value, ref index, out var output))
MediaTypeHeaderValue.cs (1)
514
return SingleValueParser.
TryParseValue
(input, ref index, out parsedValue!);
NameValueHeaderValue.cs (1)
223
return SingleValueParser.
TryParseValue
(input, ref index, out parsedValue!);
RangeConditionHeaderValue.cs (1)
130
return Parser.
TryParseValue
(input, ref index, out parsedValue!);
RangeHeaderValue.cs (1)
149
return Parser.
TryParseValue
(input, ref index, out parsedValue);
SetCookieHeaderValue.cs (1)
427
return SingleValueParser.
TryParseValue
(input, ref index, out parsedValue!);
StringWithQualityHeaderValue.cs (1)
140
return SingleValueParser.
TryParseValue
(input, ref index, out parsedValue);