ExpressionFactory.CastTo Method
Returns an expression obtained by casting another expression to a type given as an IType.
Declaration
public static IExpression CastTo(this IExpression expression, IType targetType)
Parameters
Returns
Returns an expression obtained by casting another expression to a type given as a Type.
Declaration
public static IExpression CastTo(this IExpression expression, Type targetType)
Parameters
Returns
Returns an expression obtained by casting another expression to a type given as a generic parameter.
Declaration
public static IExpression CastTo<T>(this IExpression expression)
Parameters
Returns
Type Parameters