Пример #1
0
 public virtual void Add(IEnumerable <Block> blocksToAdd)
 {
     if (this.ActionManager != null)
     {
         AddBlocksAction action = ActionFactory.AddBlocks(this, blocksToAdd);
         this.ActionManager.RecordAction(action);
     }
     else
     {
         this.Children.Add(blocksToAdd);
     }
 }