C# 클래스 System.Dynamic.BinaryOperationBinder

상속: DynamicMetaObjectBinder
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
OperationIsValid bool

공개 메소드들

메소드 설명
Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject

Performs the binding of the dynamic binary operation.

FallbackBinaryOperation ( DynamicMetaObject target, DynamicMetaObject arg ) : DynamicMetaObject

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

FallbackBinaryOperation ( DynamicMetaObject target, DynamicMetaObject arg, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

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

보호된 메소드들

메소드 설명
BinaryOperationBinder ( ExpressionType operation ) : System.Dynamic.Utils

Initializes a new instance of the BinaryOperationBinder class.

비공개 메소드들

메소드 설명
OperationIsValid ( ExpressionType operation ) : bool

메소드 상세

BinaryOperationBinder() 보호된 메소드

Initializes a new instance of the BinaryOperationBinder class.
protected BinaryOperationBinder ( ExpressionType operation ) : System.Dynamic.Utils
operation ExpressionType The binary operation kind.
리턴 System.Dynamic.Utils

Bind() 공개 최종 메소드

Performs the binding of the dynamic binary 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.
리턴 DynamicMetaObject

FallbackBinaryOperation() 공개 메소드

Performs the binding of the binary dynamic operation if the target dynamic object cannot bind.
public FallbackBinaryOperation ( DynamicMetaObject target, DynamicMetaObject arg ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic binary operation.
arg DynamicMetaObject The right hand side operand of the dynamic binary operation.
리턴 DynamicMetaObject

FallbackBinaryOperation() 공개 추상적인 메소드

When overridden in the derived class, performs the binding of the binary dynamic operation if the target dynamic object cannot bind.
public abstract FallbackBinaryOperation ( DynamicMetaObject target, DynamicMetaObject arg, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic binary operation.
arg DynamicMetaObject The right hand side operand of the dynamic binary operation.
errorSuggestion DynamicMetaObject The binding result in case the binding fails, or null.
리턴 DynamicMetaObject