public ICommand HeapExistsHandle(ICommand command) { HeapExistsHandleCommand cmd = (HeapExistsHandleCommand)command; var exists = StorageEngine.Heap.Exists(cmd.Handle); return(new HeapExistsHandleCommand(cmd.Handle, exists)); }
public bool Exists(long handle) { var cmd = new HeapExistsHandleCommand(handle, false); InternalExecute(cmd); return(cmd.Exist); }