예제 #1
0
        public DeleteHoldStepOperation(Hold hold, HoldStepNote relay)
        {
            Invoke += () =>
            {
                hold.UnPut(relay);
            };

            Undo += () =>
            {
                hold.Put(relay);
            };
        }
예제 #2
0
        public AddHoldRelayOperation(Hold hold, HoldRelay relay)
        {
            Invoke += () =>
            {
                hold.Put(relay);
            };

            Undo += () =>
            {
                hold.UnPut(relay);
            };
        }