Esempio n. 1
0
        public void Execute(object parameter)
        {
            Road road = parameter as Road;

            PredicatePreviousState = road;
            PredicatePostState     = Reciever.CloneSelectedRoad(road);
            PrimaryEntityCommandManager.Add(new CloneRoadCommand(this));
        }
Esempio n. 2
0
 public void Redo()
 {
     PredicatePostState = Reciever.CloneSelectedRoad(PredicatePreviousState);
 }