2 instantiations of PropertyGetter
Microsoft.AspNetCore.Components (2)
PersistentState\PersistentServicesRegistry.cs (1)
199
var propertyGetter = new
PropertyGetter
(targetType, propertyInfo);
SupplyParameterFromPersistentComponentStateValueProvider.cs (1)
85
return new
PropertyGetter
(type, propertyInfo);
8 references to PropertyGetter
Microsoft.AspNetCore.Components (8)
PersistentState\PersistentServicesRegistry.cs (4)
159
private readonly Dictionary<string, (PropertySetter,
PropertyGetter
)> _underlyingAccessors;
164
_underlyingAccessors = new Dictionary<string, (PropertySetter,
PropertyGetter
)>(StringComparer.OrdinalIgnoreCase);
199
var
propertyGetter = new PropertyGetter(targetType, propertyInfo);
222
internal (PropertySetter setter,
PropertyGetter
getter) GetAccessor(string key) =>
Reflection\PropertyGetter.cs (1)
13
typeof(
PropertyGetter
).GetMethod(nameof(CallPropertyGetter), BindingFlags.NonPublic | BindingFlags.Static)!;
SupplyParameterFromPersistentComponentStateValueProvider.cs (3)
21
private static readonly ConcurrentDictionary<(Type, string),
PropertyGetter
> _propertyGetterCache = new();
67
private static
PropertyGetter
ResolvePropertyGetter(Type type, string propertyName)
77
private static
PropertyGetter
PropertyGetterFactory((Type type, string propertyName) key)