Exemple #1
0
 public static T Cache <T>(Func <T> dataFetcher, string key)
 {
     return(UserCache.CacheValue <T>(dataFetcher, key));
 }
Exemple #2
0
 public static T Cache <T>(Func <T> dataFetcher)
 {
     return(UserCache.CacheValue <T>(dataFetcher, null));
 }