语言

Expression.MakeDynamic 方法

定义

创建表示动态操作的一 DynamicExpression 个。

重载

名称 说明
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression)

创建一个 DynamicExpression 表示由提供的 CallSiteBinder 和四个参数绑定的动态操作。

MakeDynamic(Type, CallSiteBinder, Expression, Expression)

创建一个 DynamicExpression 表示由提供的 CallSiteBinder 和两个参数绑定的动态操作。

MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression)

创建一个 DynamicExpression 表示由提供的 CallSiteBinder 和三个参数绑定的动态操作。

MakeDynamic(Type, CallSiteBinder, Expression)

创建一个 DynamicExpression 表示由提供的 CallSiteBinder 和一个参数绑定的动态操作。

MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>)

创建一个 DynamicExpression 表示由提供的 CallSiteBinder动态操作绑定的动态操作。

MakeDynamic(Type, CallSiteBinder, Expression[])

创建一个 DynamicExpression 表示由提供的 CallSiteBinder动态操作绑定的动态操作。

MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression)

Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs

创建一个 DynamicExpression 表示由提供的 CallSiteBinder 和四个参数绑定的动态操作。

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

参数

delegateType
Type

CallSite委托的类型。

binder
CallSiteBinder

动态操作的运行时绑定器。

arg0
Expression

动态操作的第一个参数。

arg1
Expression

动态操作的第二个参数。

arg2
Expression

动态操作的第三个参数。

arg3
Expression

动态操作的第四个参数。

返回

DynamicExpression一个等于NodeTypeDynamic和具有DelegateTypeBinder指定值,并Arguments设置为指定值。

特性

适用于

MakeDynamic(Type, CallSiteBinder, Expression, Expression)

Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs

创建一个 DynamicExpression 表示由提供的 CallSiteBinder 和两个参数绑定的动态操作。

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

参数

delegateType
Type

CallSite委托的类型。

binder
CallSiteBinder

动态操作的运行时绑定器。

arg0
Expression

动态操作的第一个参数。

arg1
Expression

动态操作的第二个参数。

返回

DynamicExpression一个等于NodeTypeDynamic和具有DelegateTypeBinder指定值,并Arguments设置为指定值。

特性

适用于

MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression)

Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs

创建一个 DynamicExpression 表示由提供的 CallSiteBinder 和三个参数绑定的动态操作。

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

参数

delegateType
Type

CallSite委托的类型。

binder
CallSiteBinder

动态操作的运行时绑定器。

arg0
Expression

动态操作的第一个参数。

arg1
Expression

动态操作的第二个参数。

arg2
Expression

动态操作的第三个参数。

返回

DynamicExpression一个等于NodeTypeDynamic和具有DelegateTypeBinder指定值,并Arguments设置为指定值。

特性

适用于

MakeDynamic(Type, CallSiteBinder, Expression)

Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs

创建一个 DynamicExpression 表示由提供的 CallSiteBinder 和一个参数绑定的动态操作。

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

参数

delegateType
Type

CallSite委托的类型。

binder
CallSiteBinder

动态操作的运行时绑定器。

arg0
Expression

动态操作的参数。

返回

DynamicExpression一个等于NodeTypeDynamic和具有DelegateTypeBinder指定值,并Arguments设置为指定值。

特性

适用于

MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>)

Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs

创建一个 DynamicExpression 表示由提供的 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

参数

delegateType
Type

CallSite委托的类型。

binder
CallSiteBinder

动态操作的运行时绑定器。

arguments
IEnumerable<Expression>

动态操作的参数。

返回

DynamicExpression一个等于NodeTypeDynamic和具有DelegateTypeBinder指定值,并Arguments设置为指定值。

特性

适用于

MakeDynamic(Type, CallSiteBinder, Expression[])

Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs
Source:
Expression.cs

创建一个 DynamicExpression 表示由提供的 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

参数

delegateType
Type

CallSite委托的类型。

binder
CallSiteBinder

动态操作的运行时绑定器。

arguments
Expression[]

动态操作的参数。

返回

DynamicExpression一个等于NodeTypeDynamic和具有DelegateTypeBinder指定值,并Arguments设置为指定值。

特性

适用于