Canguro.Commands.Model.SelectLayerCmd.Run C# (CSharp) Метод

Run() публичный Метод

Executes the command. Sets the IsSelected property of all the Items in the Active Layer to true.
public Run ( Canguro services ) : void
services Canguro CommandServices object to interact with the system
Результат void
        public override void Run(Canguro.Controller.CommandServices services)
        {
            Layer layer = services.Model.ActiveLayer;
            foreach (Item item in layer.Items)
                item.IsSelected = true;
            services.Model.ChangeSelection(null);
        }
SelectLayerCmd