3 instantiations of PropertySetter
Microsoft.AspNetCore.Components (3)
12 references to PropertySetter
Microsoft.AspNetCore.Components (12)
Reflection\ComponentProperties.cs (10)
46if (!writers.TryGetValue(parameterName, out var writer))
101if (writers.TryGetValue(parameterName, out var writer))
163static void SetProperty(object target, PropertySetter writer, string parameterName, object value)
270private readonly Dictionary<string, PropertySetter> _underlyingWriters;
271private readonly ConcurrentDictionary<string, PropertySetter?> _referenceEqualityWritersCache;
275_underlyingWriters = new Dictionary<string, PropertySetter>(StringComparer.OrdinalIgnoreCase);
276_referenceEqualityWritersCache = new ConcurrentDictionary<string, PropertySetter?>(ReferenceEqualityComparer.Instance);
316var propertySetter = new PropertySetter(targetType, propertyInfo)
353public PropertySetter? CaptureUnmatchedValuesWriter { get; }
357public bool TryGetValue(string parameterName, [MaybeNullWhen(false)] out PropertySetter writer)