public void Execute(object parameter) { Road road = parameter as Road; PredicatePreviousState = road; PredicatePostState = Reciever.CloneSelectedRoad(road); PrimaryEntityCommandManager.Add(new CloneRoadCommand(this)); }
public void Redo() { PredicatePostState = Reciever.CloneSelectedRoad(PredicatePreviousState); }