System.Dynamic.DynamicMetaObject.BindSetIndex C# (CSharp) Method

BindSetIndex() public method

Performs the binding of the dynamic set index operation.
public BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject
binder SetIndexBinder An instance of the that represents the details of the dynamic operation.
indexes DynamicMetaObject An array of instances - indexes for the set index operation.
value DynamicMetaObject The representing the value for the set index operation.
return DynamicMetaObject
        public virtual DynamicMetaObject BindSetIndex(SetIndexBinder binder, DynamicMetaObject[] indexes, DynamicMetaObject value)
        {
            ContractUtils.RequiresNotNull(binder, nameof(binder));
            return binder.FallbackSetIndex(this, indexes, value);
        }

Usage Example

示例#1
0
 public override DynamicMetaObject FallbackSetIndex(
     DynamicMetaObject target,
     DynamicMetaObject[] indexes,
     DynamicMetaObject value,
     DynamicMetaObject errorSuggestion)
 {
     return target.BindSetIndex(this, indexes, value);
 }
All Usage Examples Of System.Dynamic.DynamicMetaObject::BindSetIndex