Binder.BinaryOperation Metodo

Definizione

Inizializza un nuovo gestore di associazione dell'operazione binaria di CSharp.

Questa API supporta l'infrastruttura del prodotto e non è previsto che venga usata direttamente dal codice.

public:
 static System::Runtime::CompilerServices::CallSiteBinder ^ BinaryOperation(Microsoft::CSharp::RuntimeBinder::CSharpBinderFlags flags, System::Linq::Expressions::ExpressionType operation, Type ^ context, System::Collections::Generic::IEnumerable<Microsoft::CSharp::RuntimeBinder::CSharpArgumentInfo ^> ^ argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder BinaryOperation (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, Type context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> argumentInfo);
public static System.Runtime.CompilerServices.CallSiteBinder BinaryOperation (Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags flags, System.Linq.Expressions.ExpressionType operation, Type? context, System.Collections.Generic.IEnumerable<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo>? argumentInfo);
static member BinaryOperation : Microsoft.CSharp.RuntimeBinder.CSharpBinderFlags * System.Linq.Expressions.ExpressionType * Type * seq<Microsoft.CSharp.RuntimeBinder.CSharpArgumentInfo> -> System.Runtime.CompilerServices.CallSiteBinder
Public Shared Function BinaryOperation (flags As CSharpBinderFlags, operation As ExpressionType, context As Type, argumentInfo As IEnumerable(Of CSharpArgumentInfo)) As CallSiteBinder

Parametri

flags
CSharpBinderFlags

Flag con cui inizializzare il gestore di associazione.

operation
ExpressionType

Tipo di operazione binaria.

context
Type

Oggetto Type che indica il contesto in cui viene utilizzata l'operazione.

argumentInfo
IEnumerable<CSharpArgumentInfo>

Sequenza di istanze di CSharpArgumentInfo per gli argomenti dell'operazione.

Restituisce

Nuovo gestore di associazione dell'operazione binaria di CSharp.

Si applica a