C# Class System.Dynamic.UnaryOperationBinder

Represents the unary 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
OperationIsValid bool

Méthodes publiques

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

Performs the binding of the dynamic unary operation.

FallbackUnaryOperation ( DynamicMetaObject target ) : DynamicMetaObject

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

FallbackUnaryOperation ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

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

Méthodes protégées

Méthode Description
UnaryOperationBinder ( ExpressionType operation ) : System.Dynamic.Utils

Initializes a new instance of the UnaryOperationBinder class.

Private Methods

Méthode Description
OperationIsValid ( ExpressionType operation ) : bool

Method Details

Bind() public final méthode

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

FallbackUnaryOperation() public méthode

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

FallbackUnaryOperation() public abstract méthode

Performs the binding of the unary dynamic operation if the target dynamic object cannot bind.
public abstract FallbackUnaryOperation ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic unary operation.
errorSuggestion DynamicMetaObject The binding result in case the binding fails, or null.
Résultat DynamicMetaObject

UnaryOperationBinder() protected méthode

Initializes a new instance of the UnaryOperationBinder class.
protected UnaryOperationBinder ( ExpressionType operation ) : System.Dynamic.Utils
operation ExpressionType The unary operation kind.
Résultat System.Dynamic.Utils