DynamicMetaObjectBinder.Bind Metodo

Definizione

Se sottoposto a override nella classe derivata, esegue l'associazione dell'operazione dinamica.

Overload

Bind(DynamicMetaObject, DynamicMetaObject[])

Se sottoposto a override nella classe derivata, esegue l'associazione dell'operazione dinamica.

Bind(Object[], ReadOnlyCollection<ParameterExpression>, LabelTarget)

Esegue l'associazione di runtime dell'operazione dinamica su un set di argomenti.

Bind(DynamicMetaObject, DynamicMetaObject[])

Origine:
DynamicMetaObjectBinder.cs
Origine:
DynamicMetaObjectBinder.cs
Origine:
DynamicMetaObjectBinder.cs

Se sottoposto a override nella classe derivata, esegue l'associazione dell'operazione dinamica.

C#
public abstract System.Dynamic.DynamicMetaObject Bind (System.Dynamic.DynamicMetaObject target, System.Dynamic.DynamicMetaObject[] args);

Parametri

target
DynamicMetaObject

Destinazione dell'operazione dinamica.

args
DynamicMetaObject[]

Matrice di argomenti dell'operazione dinamica.

Restituisce

Oggetto DynamicMetaObject che rappresenta il risultato dell'associazione.

Si applica a

.NET 9 e altre versioni
Prodotto Versioni
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0

Bind(Object[], ReadOnlyCollection<ParameterExpression>, LabelTarget)

Origine:
DynamicMetaObjectBinder.cs
Origine:
DynamicMetaObjectBinder.cs
Origine:
DynamicMetaObjectBinder.cs

Esegue l'associazione di runtime dell'operazione dinamica su un set di argomenti.

C#
public override sealed System.Linq.Expressions.Expression Bind (object[] args, System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.ParameterExpression> parameters, System.Linq.Expressions.LabelTarget returnLabel);

Parametri

args
Object[]

Matrice di argomenti per l'operazione dinamica.

parameters
ReadOnlyCollection<ParameterExpression>

Matrice di istanze ParameterExpression che rappresentano i parametri del sito di chiamata nel processo di associazione.

returnLabel
LabelTarget

LabelTarget utilizzato per restituire il risultato dell'associazione dinamica.

Restituisce

Espressione che esegue test sugli argomenti dell'operazione dinamica ed esegue l'operazione dinamica se i test sono validi. Se i test non riescono su occorrenze successive dell'operazione dinamica, Bind sarà chiamato nuovamente per produrre un nuovo Expression per i nuovi tipi di argomento.

Si applica a

.NET 9 e altre versioni
Prodotto Versioni
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0