Esempio n. 1
0
            public override MetaObject DeleteMember(DeleteMemberAction action, MetaObject[] args)
            {
                if (ImplementsActions(StandardActionKinds.DeleteMember))
                {
                    return(CallMethodUnary(action, "DeleteMember"));
                }

                return(base.DeleteMember(action, args));
            }
Esempio n. 2
0
 public static Expression DeleteMember(SymbolId name, params Expression[] arguments)
 {
     return(ActionExpression(DeleteMemberAction.Make(name), arguments, typeof(object)));
 }
Esempio n. 3
0
            public override MetaObject DeleteMember(DeleteMemberAction action, MetaObject[] args)
            {
                if (ImplementsActions(StandardActionKinds.DeleteMember)) {
                    return CallMethodUnary(action, "DeleteMember");
                }

                return base.DeleteMember(action, args);
            }
Esempio n. 4
0
 /// <summary>
 /// When overridden in a derived class provides the non-Meta implementation of deleting a member.
 /// 
 /// When not overridden the call site requesting the action determines the behavior.
 /// </summary>
 protected virtual bool DeleteMember(DeleteMemberAction action)
 {
     throw new NotSupportedException();
 }
Esempio n. 5
0
 /// <summary>
 /// When overridden in a derived class provides the non-Meta implementation of deleting a member.
 ///
 /// When not overridden the call site requesting the action determines the behavior.
 /// </summary>
 protected virtual bool DeleteMember(DeleteMemberAction action)
 {
     throw new NotSupportedException();
 }