Пример #1
0
 private void ChangeHeightManyTimes(CommandProcessor editor, Shape shape, Int32 numberOfTimes)
 {
     for (var i = 0; i < numberOfTimes; i++)
     {
         var command = new ChangeHeightCommand(shape, i * 10);
         editor.Do(command);
     }
 }