2 types derived from Matcher
Microsoft.AspNetCore.Routing (2)
Matching\DataSourceDependentMatcher.cs (1)
10
internal sealed class DataSourceDependentMatcher :
Matcher
Matching\DfaMatcher.cs (1)
12
internal sealed partial class DfaMatcher :
Matcher
17 references to Matcher
Microsoft.AspNetCore.Routing (17)
EndpointRoutingMiddleware.cs (7)
32
private Task<
Matcher
>? _initializationTask;
86
static async Task AwaitMatcher(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task<
Matcher
> matcherTask)
88
var
matcher = await matcherTask;
240
private Task<
Matcher
> InitializeAsync()
251
private Task<
Matcher
> InitializeCoreAsync()
253
var initialization = new TaskCompletionSource<
Matcher
>(TaskCreationOptions.RunContinuationsAsynchronously);
264
var
matcher = _matcherFactory.CreateMatcher(_endpointDataSource);
Matching\DataSourceDependentMatcher.cs (6)
13
private readonly DataSourceDependentCache<
Matcher
> _cache;
22
_cache = new DataSourceDependentCache<
Matcher
>(dataSource, CreateMatcher);
31
internal
Matcher
CurrentMatcher => _cache.Value!;
38
private
Matcher
CreateMatcher(IReadOnlyList<Endpoint> endpoints)
78
private DataSourceDependentCache<
Matcher
>? _cache;
81
public DataSourceDependentCache<
Matcher
>? Cache
Matching\DfaMatcherBuilder.cs (1)
544
public override
Matcher
Build()
Matching\DfaMatcherFactory.cs (1)
21
public override
Matcher
CreateMatcher(EndpointDataSource dataSource)
Matching\MatcherBuilder.cs (1)
10
public abstract
Matcher
Build();
Matching\MatcherFactory.cs (1)
8
public abstract
Matcher
CreateMatcher(EndpointDataSource dataSource);