Пример #1
0
        private ICommand StorageEngineDelete(ICommand command)
        {
            StorageEngineDeleteCommand cmd = (StorageEngineDeleteCommand)command;

            StorageEngine.Delete(cmd.Name);

            return(new StorageEngineDeleteCommand(cmd.Name));
        }
Пример #2
0
        public void Delete(string name)
        {
            var cmd = new StorageEngineDeleteCommand(name);

            InternalExecute(cmd);
        }