2 instantiations of ActionConstraintItem
Microsoft.AspNetCore.Mvc.Core (2)
ActionConstraints\ActionConstraintCache.cs (2)
62
items.Add(new
ActionConstraintItem
(action.ActionConstraints[i]));
112
items.Add(new
ActionConstraintItem
(item.Metadata));
15 references to ActionConstraintItem
Microsoft.AspNetCore.Mvc.Abstractions (5)
ActionConstraints\ActionConstraintItem.cs (1)
13
/// Creates a new <see cref="
ActionConstraintItem
"/>.
ActionConstraints\ActionConstraintProviderContext.cs (4)
19
/// <param name="items">The list of <see cref="
ActionConstraintItem
"/> objects.</param>
23
IList<
ActionConstraintItem
> items)
45
/// The list of <see cref="
ActionConstraintItem
"/> objects.
47
public IList<
ActionConstraintItem
> Results { get; }
Microsoft.AspNetCore.Mvc.Core (9)
ActionConstraints\ActionConstraintCache.cs (8)
59
var items = new List<
ActionConstraintItem
>(action.ActionConstraints.Count);
72
var
item = items[i];
102
var items = new List<
ActionConstraintItem
>(entry.Items!.Count);
105
var
item = entry.Items[i];
121
private void ExecuteProviders(HttpContext httpContext, ActionDescriptor action, List<
ActionConstraintItem
> items)
136
private static IReadOnlyList<IActionConstraint>? ExtractActionConstraints(List<
ActionConstraintItem
> items)
189
public CacheEntry(List<
ActionConstraintItem
> items)
197
public List<
ActionConstraintItem
>? Items { get; }
ActionConstraints\DefaultActionConstraintProvider.cs (1)
35
private static void ProvideConstraint(
ActionConstraintItem
item, IServiceProvider services)
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\ActionSelectorTest.cs (1)
1178
foreach (
var
item in context.Results)