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