public static PropertyReflector GetReflector(this PropertyInfo property) { return(ReflectorCache <PropertyInfo, PropertyReflector> .GetOrAdd(property, Create)); }
public static TypeReflector GetReflector(this TypeInfo type) { return(ReflectorCache <TypeInfo, TypeReflector> .GetOrAdd(type, Create)); }
internal static CustomAttributeReflector Create(CustomAttributeData customAttributeData) { return(ReflectorCache <CustomAttributeData, CustomAttributeReflector> .GetOrAdd(customAttributeData, data => new CustomAttributeReflector(data))); }
public static MethodReflector GetReflector(this MethodInfo method) { return(ReflectorCache <MethodInfo, MethodReflector> .GetOrAdd(method, Create)); }
public static FieldReflector GetReflector(this FieldInfo field) { return(ReflectorCache <FieldInfo, FieldReflector> .GetOrAdd(field, Create)); }