1 instantiation of PropertyHelper
Microsoft.AspNetCore.Routing.Abstractions (1)
src\Shared\PropertyHelper\PropertyHelper.cs (1)
532
propertyHelpers.Add(new
PropertyHelper
(property));
22 references to PropertyHelper
Microsoft.AspNetCore.Routing.Abstractions (22)
src\Shared\PropertyHelper\PropertyHelper.cs (22)
13
[assembly: MetadataUpdateHandler(typeof(Microsoft.Extensions.Internal.
PropertyHelper
.MetadataUpdateHandler))]
26
typeof(
PropertyHelper
).GetMethod(nameof(CallPropertyGetter), DeclaredOnlyLookup)!;
29
typeof(
PropertyHelper
).GetMethod(nameof(CallPropertyGetterByReference), DeclaredOnlyLookup)!;
32
typeof(
PropertyHelper
).GetMethod(nameof(CallNullSafePropertyGetter), DeclaredOnlyLookup)!;
35
typeof(
PropertyHelper
).GetMethod(nameof(CallNullSafePropertyGetterByReference), DeclaredOnlyLookup)!;
38
typeof(
PropertyHelper
).GetMethod(nameof(CallPropertySetter), DeclaredOnlyLookup)!;
41
private static readonly ConcurrentDictionary<Type,
PropertyHelper
[]> PropertiesCache = new();
43
private static readonly ConcurrentDictionary<Type,
PropertyHelper
[]> VisiblePropertiesCache = new();
49
/// Initializes a fast <see cref="
PropertyHelper
"/>.
122
public static
PropertyHelper
[] GetProperties(
143
public static
PropertyHelper
[] GetVisibleProperties(
333
foreach (
var
helper in GetProperties(value.GetType(), PropertiesCache))
411
public static
PropertyHelper
[] GetVisibleProperties(
413
ConcurrentDictionary<Type,
PropertyHelper
[]>? allPropertiesCache,
414
ConcurrentDictionary<Type,
PropertyHelper
[]>? visiblePropertiesCache)
424
foreach (
var
propertyHelper in allProperties)
441
var filteredProperties = new List<
PropertyHelper
>(allProperties.Length);
442
foreach (
var
propertyHelper in allProperties)
492
public static
PropertyHelper
[] GetProperties(
494
ConcurrentDictionary<Type,
PropertyHelper
[]>? cache)
502
var propertyHelpers = new List<
PropertyHelper
>();
522
List<
PropertyHelper
> propertyHelpers,