Example #1
0
 private string GetTestData87(string val)
 {
     return(MemoryCacheUtil.TryGetValue <string>(CacheKey.KeyPre + val, () =>
     {
         Log("计算值");
         return "返回:" + val;
     }, 10));
 }