public abstract FallbackGetIndex ( |
||
target | The target of the dynamic get index operation. | |
indexes | The arguments of the dynamic get index operation. | |
errorSuggestion | The binding result to use if binding fails, or null. | |
return |
public abstract DynamicMetaObject FallbackGetIndex(DynamicMetaObject target, DynamicMetaObject[] indexes, DynamicMetaObject errorSuggestion);
}
GetIndexBinder::FallbackGetIndex ( |
public override DynamicMetaObject BindGetIndex(GetIndexBinder binder, DynamicMetaObject[] indexes) { Fallback fallback = null; if (!this.IsOverridden("TryGetIndex")) { return(base.BindGetIndex(binder, indexes)); } if (fallback == null) { fallback = e => binder.FallbackGetIndex(this, indexes, e); } return(this.CallMethodWithResult("TryGetIndex", binder, GetArgArray(indexes), fallback)); }