private static TypePropertyDescriptor GetOrAdd(IKernel kernel, ITypePropertyDescriptorCache cache, Type type, Action<PropertyInfo, ComponentModel> validatePropertyRegistration) { return cache.GetOrAdd(type, t => GetInjectableProperties(t, kernel, validatePropertyRegistration)); }
private TypePropertyDescriptor GetOrAdd(Type type) { return(signaturePropertiesCache.GetOrAdd(type, t => new TypePropertyDescriptor(t, GetTypeSpecificSignatureProperties()))); }
private static TypePropertyDescriptor GetOrAdd(IKernel kernel, ITypePropertyDescriptorCache cache, Type type, Action <PropertyInfo, ComponentModel> validatePropertyRegistration) { return(cache.GetOrAdd(type, t => GetInjectableProperties(t, kernel, validatePropertyRegistration))); }