System.Linq.Expressions.ExpressionExtension.Dynamic C# (CSharp) Method

Dynamic() public static method

Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
The DelegateType property of the result will be inferred from the types of the arguments and the specified return type.
public static Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType ) : DynamicExpression
binder System.Runtime.CompilerServices.CallSiteBinder The runtime binder for the dynamic operation.
returnType System.Type The result type of the dynamic expression.
return DynamicExpression
        public static DynamicExpression Dynamic(CallSiteBinder binder, Type returnType, params Expression[] arguments)
        {
            return Dynamic(binder, returnType, (IEnumerable<Expression>)arguments);
        }

Same methods

ExpressionExtension::Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0 ) : DynamicExpression
ExpressionExtension::Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1 ) : DynamicExpression
ExpressionExtension::Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2 ) : DynamicExpression
ExpressionExtension::Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, Expression arg0, Expression arg1, Expression arg2, Expression arg3 ) : DynamicExpression
ExpressionExtension::Dynamic ( System.Runtime.CompilerServices.CallSiteBinder binder, Type returnType, IEnumerable arguments ) : DynamicExpression