C# Class System.Dynamic.GetMemberBinder

Represents the dynamic get member operation at the call site, providing the binding semantic and the details about the operation.
Inheritance: DynamicMetaObjectBinder
Show file Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Bind ( DynamicMetaObject target ) : DynamicMetaObject

Performs the binding of the dynamic get member operation.

FallbackGetMember ( DynamicMetaObject target ) : DynamicMetaObject

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

FallbackGetMember ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

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

Protected Methods

Method Description
GetMemberBinder ( string name, bool ignoreCase ) : System.Dynamic.Utils

Initializes a new instance of the GetMemberBinder.

Method Details

Bind() public final method

Performs the binding of the dynamic get member operation.
public final Bind ( DynamicMetaObject target ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic get member operation.
return DynamicMetaObject

FallbackGetMember() public method

Performs the binding of the dynamic get member operation if the target dynamic object cannot bind.
public FallbackGetMember ( DynamicMetaObject target ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic get member operation.
return DynamicMetaObject

FallbackGetMember() public abstract method

When overridden in the derived class, performs the binding of the dynamic get member operation if the target dynamic object cannot bind.
public abstract FallbackGetMember ( DynamicMetaObject target, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic get member operation.
errorSuggestion DynamicMetaObject The binding result to use if binding fails, or null.
return DynamicMetaObject

GetMemberBinder() protected method

Initializes a new instance of the GetMemberBinder.
protected GetMemberBinder ( string name, bool ignoreCase ) : System.Dynamic.Utils
name string The name of the member to get.
ignoreCase bool true if the name should be matched ignoring case; false otherwise.
return System.Dynamic.Utils