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

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