1 write to Endpoints
Microsoft.AspNetCore.Routing (1)
Matching\PolicyNodeEdge.cs (1)
21
Endpoints
= endpoints ?? throw new System.ArgumentNullException(nameof(endpoints));
52 references to Endpoints
Microsoft.AspNetCore.Routing (2)
Matching\DfaMatcherBuilder.cs (2)
932
if (edge.
Endpoints
.Count > 0)
934
next.AddMatches(edge.
Endpoints
);
Microsoft.AspNetCore.Routing.Tests (50)
Matching\AcceptsMatcherPolicyTest.cs (14)
182
Assert.Equal(new[] { endpoints[1], endpoints[4], }, e.
Endpoints
.ToArray());
187
Assert.Equal(new[] { endpoints[1], endpoints[4], }, e.
Endpoints
.ToArray());
192
Assert.Equal(new[] { endpoints[1], endpoints[3], endpoints[4], }, e.
Endpoints
.ToArray());
197
Assert.Equal(new[] { endpoints[0], endpoints[1], endpoints[3], endpoints[4], }, e.
Endpoints
.ToArray());
202
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[3], endpoints[4], }, e.
Endpoints
.ToArray());
207
Assert.Equal(new[] { endpoints[0], endpoints[1], endpoints[3], endpoints[4], }, e.
Endpoints
.ToArray());
212
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[3], endpoints[4], }, e.
Endpoints
.ToArray());
240
Assert.Equal(new[] { endpoints[0], endpoints[1], endpoints[2], }, e.
Endpoints
.ToArray());
245
Assert.Equal(AcceptsMatcherPolicy.Http415EndpointDisplayName, Assert.Single(e.
Endpoints
).DisplayName);
250
Assert.Equal(new[] { endpoints[2], }, e.
Endpoints
.ToArray());
255
Assert.Equal(new[] { endpoints[0], endpoints[2], }, e.
Endpoints
.ToArray());
260
Assert.Equal(new[] { endpoints[1], endpoints[2], }, e.
Endpoints
.ToArray());
265
Assert.Equal(new[] { endpoints[0], endpoints[2], }, e.
Endpoints
.ToArray());
270
Assert.Equal(new[] { endpoints[1], endpoints[2], }, e.
Endpoints
.ToArray());
Matching\ContentEncodingNegotiationMatcherPolicyTest.cs (6)
366
var endpoint = Assert.Single(e.
Endpoints
);
372
var endpoint = Assert.Single(e.
Endpoints
);
397
Assert.Collection(e.
Endpoints
,
404
Assert.Collection(e.
Endpoints
,
411
var endpoint = Assert.Single(e.
Endpoints
);
417
var endpoint = Assert.Single(e.
Endpoints
);
Matching\HostMatcherPolicyTest.cs (7)
224
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[7], }, e.
Endpoints
.ToArray());
229
Assert.Equal(new[] { endpoints[0], endpoints[1], endpoints[2], }, e.
Endpoints
.ToArray());
234
Assert.Equal(new[] { endpoints[0], endpoints[1], endpoints[2], }, e.
Endpoints
.ToArray());
239
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[3], endpoints[4], }, e.
Endpoints
.ToArray());
244
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[4], }, e.
Endpoints
.ToArray());
249
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[5], }, e.
Endpoints
.ToArray());
254
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[6], }, e.
Endpoints
.ToArray());
Matching\HttpMethodMatcherPolicyTest.cs (23)
202
Assert.Equal(new[] { endpoints[1], endpoints[4], }, e.
Endpoints
.ToArray());
207
Assert.Equal(new[] { endpoints[0], endpoints[1], endpoints[2], endpoints[4], }, e.
Endpoints
.ToArray());
212
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[3], endpoints[4], }, e.
Endpoints
.ToArray());
217
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[3], endpoints[4], }, e.
Endpoints
.ToArray());
247
Assert.Equal(new[] { endpoints[1], endpoints[4], }, e.
Endpoints
.ToArray());
252
Assert.Equal(new[] { endpoints[4], }, e.
Endpoints
.ToArray());
257
Assert.Equal(new[] { endpoints[0], endpoints[1], endpoints[2], endpoints[4], }, e.
Endpoints
.ToArray());
262
Assert.Equal(new[] { endpoints[2], endpoints[4], }, e.
Endpoints
.ToArray());
267
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[3], endpoints[4], }, e.
Endpoints
.ToArray());
272
Assert.Equal(new[] { endpoints[2], endpoints[4], }, e.
Endpoints
.ToArray());
277
Assert.Equal(new[] { endpoints[1], endpoints[2], endpoints[3], endpoints[4], }, e.
Endpoints
.ToArray());
282
Assert.Equal(new[] { endpoints[2], endpoints[4], }, e.
Endpoints
.ToArray());
310
Assert.Equal(Http405EndpointDisplayName, e.
Endpoints
.Single().DisplayName);
315
Assert.Equal(new[] { endpoints[0], endpoints[1], }, e.
Endpoints
.ToArray());
320
Assert.Equal(new[] { endpoints[1], endpoints[2], }, e.
Endpoints
.ToArray());
325
Assert.Equal(new[] { endpoints[1], endpoints[2], }, e.
Endpoints
.ToArray());
354
Assert.Equal(Http405EndpointDisplayName, e.
Endpoints
.Single().DisplayName);
359
Assert.Equal(new[] { endpoints[0], endpoints[1], }, e.
Endpoints
.ToArray());
364
Assert.Equal(new[] { endpoints[1], }, e.
Endpoints
.ToArray());
369
Assert.Equal(new[] { endpoints[1], endpoints[2], }, e.
Endpoints
.ToArray());
374
Assert.Equal(new[] { endpoints[1], }, e.
Endpoints
.ToArray());
379
Assert.Equal(new[] { endpoints[1], endpoints[2], }, e.
Endpoints
.ToArray());
384
Assert.Equal(new[] { endpoints[1], }, e.
Endpoints
.ToArray());