C# Class System.Dynamic.ConvertBinder

Represents the convert dynamic operation at the call site, providing the binding semantic and the details about the operation.
Inheritance: DynamicMetaObjectBinder
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject

Performs the binding of the dynamic convert operation.

FallbackConvert ( DynamicMetaObject target ) : DynamicMetaObject

Performs the binding of the dynamic convert operation if the target dynamic object cannot bind.

FallbackConvert ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

When overridden in the derived class, performs the binding of the dynamic convert operation if the target dynamic object cannot bind.

Méthodes protégées

Méthode Description
ConvertBinder ( Type type, bool @explicit ) : System.Dynamic.Utils

Initializes a new instance of the ConvertBinder.

Method Details

Bind() public final méthode

Performs the binding of the dynamic convert operation.
public final Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic convert operation.
args DynamicMetaObject An array of arguments of the dynamic convert operation.
Résultat DynamicMetaObject

ConvertBinder() protected méthode

Initializes a new instance of the ConvertBinder.
protected ConvertBinder ( Type type, bool @explicit ) : System.Dynamic.Utils
type Type The type to convert to.
@explicit bool
Résultat System.Dynamic.Utils

FallbackConvert() public méthode

Performs the binding of the dynamic convert operation if the target dynamic object cannot bind.
public FallbackConvert ( DynamicMetaObject target ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic convert operation.
Résultat DynamicMetaObject

FallbackConvert() public abstract méthode

When overridden in the derived class, performs the binding of the dynamic convert operation if the target dynamic object cannot bind.
public abstract FallbackConvert ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic convert operation.
errorSuggestion DynamicMetaObject The binding result to use if binding fails, or null.
Résultat DynamicMetaObject