Expression.MakeDynamic Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a DynamicExpression that represents a dynamic operation.
Overloads
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression)
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and four arguments.
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Linq::Expressions::Expression ^ arg0, System::Linq::Expressions::Expression ^ arg1, System::Linq::Expressions::Expression ^ arg2, System::Linq::Expressions::Expression ^ arg3);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")]
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0, System.Linq.Expressions.Expression arg1, System.Linq.Expressions.Expression arg2, System.Linq.Expressions.Expression arg3);
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0, System.Linq.Expressions.Expression arg1, System.Linq.Expressions.Expression arg2, System.Linq.Expressions.Expression arg3);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")>]
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, arg0 As Expression, arg1 As Expression, arg2 As Expression, arg3 As Expression) As DynamicExpression
Parameters
- binder
- CallSiteBinder
The runtime binder for the dynamic operation.
- arg0
- Expression
The first argument to the dynamic operation.
- arg1
- Expression
The second argument to the dynamic operation.
- arg2
- Expression
The third argument to the dynamic operation.
- arg3
- Expression
The fourth argument to the dynamic operation.
Returns
A DynamicExpression that has NodeType equal to Dynamic and has the DelegateType, Binder, and Arguments set to the specified values.
- Attributes
Applies to
MakeDynamic(Type, CallSiteBinder, Expression, Expression)
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and two arguments.
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Linq::Expressions::Expression ^ arg0, System::Linq::Expressions::Expression ^ arg1);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")]
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0, System.Linq.Expressions.Expression arg1);
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0, System.Linq.Expressions.Expression arg1);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")>]
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, arg0 As Expression, arg1 As Expression) As DynamicExpression
Parameters
- binder
- CallSiteBinder
The runtime binder for the dynamic operation.
- arg0
- Expression
The first argument to the dynamic operation.
- arg1
- Expression
The second argument to the dynamic operation.
Returns
A DynamicExpression that has NodeType equal to Dynamic and has the DelegateType, Binder, and Arguments set to the specified values.
- Attributes
Applies to
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression)
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and three arguments.
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Linq::Expressions::Expression ^ arg0, System::Linq::Expressions::Expression ^ arg1, System::Linq::Expressions::Expression ^ arg2);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")]
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0, System.Linq.Expressions.Expression arg1, System.Linq.Expressions.Expression arg2);
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0, System.Linq.Expressions.Expression arg1, System.Linq.Expressions.Expression arg2);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")>]
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, arg0 As Expression, arg1 As Expression, arg2 As Expression) As DynamicExpression
Parameters
- binder
- CallSiteBinder
The runtime binder for the dynamic operation.
- arg0
- Expression
The first argument to the dynamic operation.
- arg1
- Expression
The second argument to the dynamic operation.
- arg2
- Expression
The third argument to the dynamic operation.
Returns
A DynamicExpression that has NodeType equal to Dynamic and has the DelegateType, Binder, and Arguments set to the specified values.
- Attributes
Applies to
MakeDynamic(Type, CallSiteBinder, Expression)
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder and one argument.
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Linq::Expressions::Expression ^ arg0);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")]
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0);
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Linq.Expressions.Expression arg0);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")>]
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, arg0 As Expression) As DynamicExpression
Parameters
- binder
- CallSiteBinder
The runtime binder for the dynamic operation.
- arg0
- Expression
The argument to the dynamic operation.
Returns
A DynamicExpression that has NodeType equal to Dynamic and has the DelegateType, Binder, and Arguments set to the specified values.
- Attributes
Applies to
MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>)
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, System::Collections::Generic::IEnumerable<System::Linq::Expressions::Expression ^> ^ arguments);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")]
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression>? arguments);
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression>? arguments);
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> arguments);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")>]
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * seq<System.Linq.Expressions.Expression> -> System.Linq.Expressions.DynamicExpression
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * seq<System.Linq.Expressions.Expression> -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, arguments As IEnumerable(Of Expression)) As DynamicExpression
Parameters
- binder
- CallSiteBinder
The runtime binder for the dynamic operation.
- arguments
- IEnumerable<Expression>
The arguments to the dynamic operation.
Returns
A DynamicExpression that has NodeType equal to Dynamic and has the DelegateType, Binder, and Arguments set to the specified values.
- Attributes
Applies to
MakeDynamic(Type, CallSiteBinder, Expression[])
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
- Source:
- Expression.cs
Creates a DynamicExpression that represents a dynamic operation bound by the provided CallSiteBinder.
public:
static System::Linq::Expressions::DynamicExpression ^ MakeDynamic(Type ^ delegateType, System::Runtime::CompilerServices::CallSiteBinder ^ binder, ... cli::array <System::Linq::Expressions::Expression ^> ^ arguments);
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")]
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, params System.Linq.Expressions.Expression[]? arguments);
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, params System.Linq.Expressions.Expression[]? arguments);
public static System.Linq.Expressions.DynamicExpression MakeDynamic(Type delegateType, System.Runtime.CompilerServices.CallSiteBinder binder, params System.Linq.Expressions.Expression[] arguments);
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Delegate creation requires dynamic code generation.")>]
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression[] -> System.Linq.Expressions.DynamicExpression
static member MakeDynamic : Type * System.Runtime.CompilerServices.CallSiteBinder * System.Linq.Expressions.Expression[] -> System.Linq.Expressions.DynamicExpression
Public Shared Function MakeDynamic (delegateType As Type, binder As CallSiteBinder, ParamArray arguments As Expression()) As DynamicExpression
Parameters
- binder
- CallSiteBinder
The runtime binder for the dynamic operation.
- arguments
- Expression[]
The arguments to the dynamic operation.
Returns
A DynamicExpression that has NodeType equal to Dynamic and has the DelegateType, Binder, and Arguments set to the specified values.
- Attributes