/// <inheritdoc />
 public ConstructorInfo?StaticSelectConstructor(Type type)
 {
     return(StaticSelectConstructorCache.GetOrAdd(type, t => _constructorResolver.StaticSelectConstructor(t)));
 }
Exemplo n.º 2
0
 public static Expression?ResolveConstructorExpression(this IConstructorResolver resolver, Type type)
 {
     return(resolver.ResolveConstructorExpression(type, resolver.StaticSelectConstructor(type)));
 }