Пример #1
0
        public static TypeMath Create(Type valueType)
        {
            TypeMath m;

            if (cache.TryGetValue(valueType, out m))
            {
                return(m);
            }
            return(cache[valueType] = new TypeMath(valueType));
        }
Пример #2
0
 public static TypeMath Create(Type valueType)
 {
     TypeMath m;
     if (cache.TryGetValue(valueType, out m))
         return m;
     return cache[valueType] = new TypeMath(valueType);
 }