System.Linq.Expressions.Strings.ParameterExpressionNotValidAsDelegate C# (CSharp) Метод

ParameterExpressionNotValidAsDelegate() статический приватный Метод

A string like "ParameterExpression of type '{0}' cannot be used for delegate parameter of type '{1}'"
static private ParameterExpressionNotValidAsDelegate ( object p0, object p1 ) : string
p0 object
p1 object
Результат string
        internal static string ParameterExpressionNotValidAsDelegate(object p0, object p1) => SR.Format(SR.ParameterExpressionNotValidAsDelegate, p0, p1);

Usage Example

Пример #1
0
 internal static Exception ParameterExpressionNotValidAsDelegate(object p0, object p1)
 {
     return(new ArgumentException(Strings.ParameterExpressionNotValidAsDelegate(p0, p1)));
 }
Strings