2 instantiations of PropertyActivator
Microsoft.AspNetCore.Mvc.Core (2)
Controllers\DefaultControllerPropertyActivator.cs (2)
65
p => new
PropertyActivator
<ControllerContext>(p, c => c));
70
p => new
PropertyActivator
<ControllerContext>(p, c => c)));
14 references to PropertyActivator
Microsoft.AspNetCore.Mvc.Core (14)
Controllers\DefaultControllerPropertyActivator.cs (8)
13
private static readonly Func<Type,
PropertyActivator
<ControllerContext>[]> _getPropertiesToActivate =
15
private readonly ConcurrentDictionary<Type,
PropertyActivator
<ControllerContext>[]> _activateActions = new();
26
var
activateInfo = propertiesToActivate[i];
51
var
activateInfo = propertiesToActivate[i];
59
private static
PropertyActivator
<ControllerContext>[] GetPropertiesToActivate(Type type)
61
IEnumerable<
PropertyActivator
<ControllerContext>> activators;
62
activators =
PropertyActivator
<ControllerContext>.GetPropertiesToActivate(
67
activators = activators.Concat(
PropertyActivator
<ControllerContext>.GetPropertiesToActivate(
src\Shared\PropertyActivator\PropertyActivator.cs (6)
37
public static
PropertyActivator
<TContext>[] GetPropertiesToActivate(
40
Func<PropertyInfo,
PropertyActivator
<TContext>> createActivateInfo)
49
public static
PropertyActivator
<TContext>[] GetPropertiesToActivate(
52
Func<PropertyInfo,
PropertyActivator
<TContext>> createActivateInfo,
63
public static
PropertyActivator
<TContext>[] GetPropertiesToActivate<TAttribute>(
65
Func<PropertyInfo, TAttribute,
PropertyActivator
<TContext>> createActivateInfo,