示例#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);
 }