8 instantiations of ExpectedTemplateBuilder
Microsoft.AspNetCore.Components.Tests (8)
Routing\TemplateParserTests.cs (8)
14
var expected = new
ExpectedTemplateBuilder
().Literal("awesome");
29
var expected = new
ExpectedTemplateBuilder
().Parameter("p");
44
var expected = new
ExpectedTemplateBuilder
().Literal("awesome").Literal("cool").Literal("super");
59
var expected = new
ExpectedTemplateBuilder
().Parameter("p1").Parameter("p2").Parameter("p3");
74
var expected = new
ExpectedTemplateBuilder
().Parameter("p1?").Parameter("p2?").Parameter("p3?");
89
var expected = new
ExpectedTemplateBuilder
().Parameter(parsedTemplate, isCatchAll: true);
102
var expected = new
ExpectedTemplateBuilder
().Literal("awesome").Literal("wow").Parameter("p", isCatchAll: true);
115
var expected = new
ExpectedTemplateBuilder
().Literal("awesome").Parameter("p1").Parameter("p2", isCatchAll: true);
11 references to ExpectedTemplateBuilder
Microsoft.AspNetCore.Components.Tests (11)
Routing\TemplateParserTests.cs (11)
14
var
expected = new ExpectedTemplateBuilder().Literal("awesome");
29
var
expected = new ExpectedTemplateBuilder().Parameter("p");
44
var
expected = new ExpectedTemplateBuilder().Literal("awesome").Literal("cool").Literal("super");
59
var
expected = new ExpectedTemplateBuilder().Parameter("p1").Parameter("p2").Parameter("p3");
74
var
expected = new ExpectedTemplateBuilder().Parameter("p1?").Parameter("p2?").Parameter("p3?");
89
var
expected = new ExpectedTemplateBuilder().Parameter(parsedTemplate, isCatchAll: true);
102
var
expected = new ExpectedTemplateBuilder().Literal("awesome").Literal("wow").Parameter("p", isCatchAll: true);
115
var
expected = new ExpectedTemplateBuilder().Literal("awesome").Parameter("p1").Parameter("p2", isCatchAll: true);
246
public
ExpectedTemplateBuilder
Literal(string value)
256
public
ExpectedTemplateBuilder
Parameter(string value, bool isCatchAll = false)
280
public static implicit operator RoutePattern(
ExpectedTemplateBuilder
builder) => builder.Build();