C# 클래스 System.Dynamic.ConvertBinder

Represents the convert dynamic operation at the call site, providing the binding semantic and the details about the operation.
상속: DynamicMetaObjectBinder
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
ConvertBinder ( Type type, bool @explicit ) : System.Dynamic.Utils

Initializes a new instance of the ConvertBinder.

메소드 상세

Bind() 공개 최종 메소드

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.
리턴 DynamicMetaObject

ConvertBinder() 보호된 메소드

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
리턴 System.Dynamic.Utils

FallbackConvert() 공개 메소드

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.
리턴 DynamicMetaObject

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

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.
리턴 DynamicMetaObject