public abstract FallbackSetIndex ( |
||
target | The target of the dynamic set index operation. | |
indexes | The arguments of the dynamic set index operation. | |
value | The value to set to the collection. | |
errorSuggestion | The binding result to use if binding fails, or null. | |
Результат |
public abstract DynamicMetaObject FallbackSetIndex(DynamicMetaObject target, DynamicMetaObject[] indexes, DynamicMetaObject value, DynamicMetaObject errorSuggestion);
}
SetIndexBinder::FallbackSetIndex ( |
public override DynamicMetaObject BindSetIndex(SetIndexBinder binder, DynamicMetaObject[] indexes, DynamicMetaObject value) { Fallback fallback = null; if (!this.IsOverridden("TrySetIndex")) { return(base.BindSetIndex(binder, indexes, value)); } if (fallback == null) { fallback = e => binder.FallbackSetIndex(this, indexes, value, e); } return(this.CallMethodReturnLast("TrySetIndex", binder, GetArgArray(indexes, value), fallback)); }