Exemple #1
0
        public ICommand HeapExistsHandle(ICommand command)
        {
            HeapExistsHandleCommand cmd = (HeapExistsHandleCommand)command;
            var exists = StorageEngine.Heap.Exists(cmd.Handle);

            return(new HeapExistsHandleCommand(cmd.Handle, exists));
        }
Exemple #2
0
            public bool Exists(long handle)
            {
                var cmd = new HeapExistsHandleCommand(handle, false);

                InternalExecute(cmd);

                return(cmd.Exist);
            }