Пример #1
0
 internal static void Postfix(ThingRequestGroup group, int __result, bool __state)
 {
     if (__state == false)
     {
         return;
     }
     cache[group] = new CachedUnit <int>(__result);
 }
Пример #2
0
 public void AddPair(A key, B value) => cache[key] = new CachedUnit <B>(value);