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

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

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