Example #1
0
 public TMethod Get(TKey key)
 {
     if (mKeyToMethod.TryGetValue(key, out TMethod method))
     {
         return(method);
     }
     else
     {
         method            = mMethodBuilder.BuildMethod(key);
         mKeyToMethod[key] = method;
         return(method);
     }
 }