1 instantiation of UriParser
Microsoft.AspNetCore.HeaderParsing (1)
Parsers\UriParser.cs (1)
12
public static UriParser Instance { get; } =
new
();
5 references to UriParser
Microsoft.AspNetCore.HeaderParsing (2)
CommonHeaders.cs (1)
95
public static HeaderSetup<Uri> Referer => new(HeaderNames.Referer, Parsers.
UriParser
.Instance, cacheable: true);
Parsers\UriParser.cs (1)
12
public static
UriParser
Instance { get; } = new();
Microsoft.AspNetCore.HeaderParsing.Tests (3)
ParserTests.cs (3)
274
Assert.True(
UriParser
.Instance.TryParse(sv, out var result, out var error));
284
Assert.False(
UriParser
.Instance.TryParse(sv, out var result, out var error));
293
Assert.False(
UriParser
.Instance.TryParse(sv, out var result, out var error));