コード例 #1
0
 public static TValue Get <TKey, TValue>(this ITypeCache <TKey, TValue> cache, TKey key, Func <TValue> factory)
 {
     return(cache.Get(key, k => factory()));
 }