コード例 #1
0
 /// <inheritdoc />
 public ConstructorInfo?StaticSelectConstructor(Type type)
 {
     return(StaticSelectConstructorCache.GetOrAdd(type, t => _constructorResolver.StaticSelectConstructor(t)));
 }
コード例 #2
0
 public static Expression?ResolveConstructorExpression(this IConstructorResolver resolver, Type type)
 {
     return(resolver.ResolveConstructorExpression(type, resolver.StaticSelectConstructor(type)));
 }