C# Class System.Dynamic.SetIndexBinder

Inheritance: DynamicMetaObjectBinder
Exibir arquivo Open project: dotnet/corefx Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject

Performs the binding of the dynamic set index operation.

FallbackSetIndex ( DynamicMetaObject target, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject

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

FallbackSetIndex ( DynamicMetaObject target, DynamicMetaObject indexes, DynamicMetaObject value, DynamicMetaObject errorSuggestion ) : DynamicMetaObject

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

Protected Methods

Method Description
SetIndexBinder ( CallInfo callInfo ) : System.Dynamic.Utils

Initializes a new instance of the SetIndexBinder.

Method Details

Bind() public final method

Performs the binding of the dynamic set index operation.
public final Bind ( DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic set index operation.
args DynamicMetaObject An array of arguments of the dynamic set index operation.
return DynamicMetaObject

FallbackSetIndex() public method

Performs the binding of the dynamic set index operation if the target dynamic object cannot bind.
public FallbackSetIndex ( DynamicMetaObject target, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic set index operation.
indexes DynamicMetaObject The arguments of the dynamic set index operation.
value DynamicMetaObject The value to set to the collection.
return DynamicMetaObject

FallbackSetIndex() public abstract method

When overridden in the derived class, performs the binding of the dynamic set index operation if the target dynamic object cannot bind.
public abstract FallbackSetIndex ( DynamicMetaObject target, DynamicMetaObject indexes, DynamicMetaObject value, DynamicMetaObject errorSuggestion ) : DynamicMetaObject
target DynamicMetaObject The target of the dynamic set index operation.
indexes DynamicMetaObject The arguments of the dynamic set index operation.
value DynamicMetaObject The value to set to the collection.
errorSuggestion DynamicMetaObject The binding result to use if binding fails, or null.
return DynamicMetaObject

SetIndexBinder() protected method

Initializes a new instance of the SetIndexBinder.
protected SetIndexBinder ( CallInfo callInfo ) : System.Dynamic.Utils
callInfo CallInfo The signature of the arguments at the call site.
return System.Dynamic.Utils