public static MemcacheEntry ToEntry(this MemcacheService Context, object Key) { return(new MemcacheEntry { Context = Context, Key = Key }); }
public static MemcacheEntry ToEntry(this MemcacheService Context, object Key, int ExpirationInSeconds) { return(new MemcacheEntry { Context = Context, Key = Key, ExpirationInSeconds = ExpirationInSeconds }); }
public static MemcacheEntry ToEntry(this MemcacheService Context, Type TargetType) { return(new MemcacheEntry { Context = Context, Key = TargetType.FullName }); }