Exemplo n.º 1
0
        private ICommand StorageEngineExist(ICommand command)
        {
            StorageEngineExistsCommand cmd = (StorageEngineExistsCommand)command;
            bool exist = StorageEngine.Exists(cmd.Name);

            return(new StorageEngineExistsCommand(exist, cmd.Name));
        }
Exemplo n.º 2
0
        public bool Exists(string name)
        {
            var cmd = new StorageEngineExistsCommand(name);

            InternalExecute(cmd);

            return(cmd.Exist);
        }