Beispiel #1
0
 public T Get <T>(string key)
 {
     if (SysnetApplicationPool.S_HasKey(key))
     {
         return(SysnetApplicationPool.S_Get <T>(key));
     }
     else
     {
         return(SysnetCachePool.S_Get <T>(key));
     }
 }
Beispiel #2
0
 public bool HasKey(string key)
 {
     return(!SysnetApplicationPool.S_HasKey(key) ? SysnetCachePool.S_HasKey(key) : true);
 }