public static MemcacheEntry ToEntry(this MemcacheEntry Entry, object Key) { return(new MemcacheEntry { Context = Entry.Context, Key = new MemcacheEntryPathNode { Parent = Entry.Key, Current = Key }, }); }
public static MemcacheEntry ToEntry(this MemcacheEntry Entry, object Key, int ExpirationInSeconds) { return(new MemcacheEntry { Context = Entry.Context, Key = new MemcacheEntryPathNode { Parent = Entry.Key, Current = Key }, ExpirationInSeconds = ExpirationInSeconds }); }
public bool MoveNext() { var e = Context.ToEntry("#" + Index); Index--; if (Index >= 0) { if (e.Exists) { this.InternalCurrent = e; return(true); } } this.InternalCurrent = null; return(false); }
public bool MoveNext() { var e = Context.ToEntry("#" + Index); Index--; if (Index >= 0) if (e.Exists) { this.InternalCurrent = e; return true; } this.InternalCurrent = null; return false; }
public void Dispose() { this.InternalCurrent = null; this.Context = null; }
public void Dispose() { this.InternalCurrent = null; this.Context = null; }