Exemple #1
0
 public virtual MetaObject BindDeleteIndex(DeleteIndexBinder binder, MetaObject[] indexes)
 {
     ContractUtils.RequiresNotNull(binder, "binder");
     return(binder.FallbackDeleteIndex(this, indexes));
 }
Exemple #2
0
            public override MetaObject BindDeleteIndex(DeleteIndexBinder binder, MetaObject[] indexes) {
                if (IsOverridden("TryDeleteIndex")) {
                    return CallMethodNoResult("TryDeleteIndex", binder, GetArgArray(indexes), (e) => binder.FallbackDeleteIndex(this, indexes, e));
                }

                return base.BindDeleteIndex(binder, indexes);
            }
Exemple #3
0
        public override bool Equals(object obj)
        {
            DeleteIndexBinder ia = obj as DeleteIndexBinder;

            return(ia != null && ia._arguments.ListEquals(_arguments));
        }
Exemple #4
0
 /// <summary>
 /// When overridden in a derived class provides the non-Meta implementation of
 /// performing a delete index operation.
 /// 
 /// When not overridden the call site requesting the binder determines the behavior.
 /// </summary>
 public virtual bool TryDeleteIndex(DeleteIndexBinder binder, object[] indexes) {
     throw new NotSupportedException();
 }
Exemple #5
0
 public virtual MetaObject BindDeleteIndex(DeleteIndexBinder binder, MetaObject[] indexes) {
     ContractUtils.RequiresNotNull(binder, "binder");
     return binder.FallbackDeleteIndex(this, indexes);
 }