1 instantiation of ActionSelectionTable
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ActionSelectionTable.cs (1)
159
return new
ActionSelectionTable
<T>(version, routeKeys.ToArray(), ordinalEntries, ordinalIgnoreCaseEntries);
14 references to ActionSelectionTable
Microsoft.AspNetCore.Mvc.Core (14)
Infrastructure\ActionSelectionTable.cs (3)
59
public static
ActionSelectionTable
<ActionDescriptor> Create(ActionDescriptorCollection actions)
78
public static
ActionSelectionTable
<Endpoint> Create(IEnumerable<Endpoint> endpoints)
100
private static
ActionSelectionTable
<T> CreateCore<T>(
Infrastructure\ActionSelector.cs (5)
24
private
ActionSelectionTable
<ActionDescriptor>? _cache;
45
private
ActionSelectionTable
<ActionDescriptor> Current
50
var
cache = Volatile.Read(ref _cache);
57
cache =
ActionSelectionTable
<ActionDescriptor>.Create(actions);
67
var
cache = Current;
Routing\DynamicControllerEndpointSelector.cs (6)
12
private readonly DataSourceDependentCache<
ActionSelectionTable
<Endpoint>> _cache;
18
_cache = new DataSourceDependentCache<
ActionSelectionTable
<Endpoint>>(dataSource, Initialize);
21
private
ActionSelectionTable
<Endpoint> Table => _cache.EnsureInitialized();
27
var
table = Table;
32
private static
ActionSelectionTable
<Endpoint> Initialize(IReadOnlyList<Endpoint> endpoints)
34
return
ActionSelectionTable
<Endpoint>.Create(endpoints);