/// <inheritdoc /> public Expression?ResolveConstructorExpression(Type type, ConstructorInfo?constructorInfo) { return(ResolveConstructorExpressionCache.GetOrAdd(type, t => _constructorResolver.ResolveConstructorExpression(t, constructorInfo))); }
public static Expression?ResolveConstructorExpression(this IConstructorResolver resolver, Type type) { return(resolver.ResolveConstructorExpression(type, resolver.StaticSelectConstructor(type))); }