Пример #1
0
 public static Type MakeGenericTypeCached(this Type GenericTypeDefiniton, params Type[] GenericTypeArguments)
 {
     return(GenericTypeCache.GetCachedGenericType(GenericTypeDefiniton, GenericTypeArguments));
 }
Пример #2
0
 public static Type MakeGenericTypeCached(this Type GenericTypeDefiniton, IEnumerable <Type> GenericTypeArguments)
 {
     return(GenericTypeCache.GetCachedGenericType(GenericTypeDefiniton, GenericTypeArguments));
 }