示例#1
0
        public void Execute(object parameter)
        {
            Road road = parameter as Road;

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