Exemplo n.º 1
0
 public static Tuple <VectorType, VectorType> UnpackHyperVector <THyperVector>() where THyperVector : HyperVector
 {
     return(Memoizer.GetOrSet(() => InternalUnpackHyperVector(typeof(THyperVector)), TimeSpan.FromDays(1), typeof(THyperVector)));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Unpacks the types that are specified by the generic type arguments.
 /// </summary>
 /// <param name="specificVectorType"></param>
 /// <returns></returns>
 public static VectorType Unpack(Type specificVectorType)
 {
     return(Memoizer.GetOrSet(() => InternalUnpack(specificVectorType), TimeSpan.FromDays(1), specificVectorType));
 }
Exemplo n.º 3
0
 /// <summary>
 /// Unpacks the types that are specified by the generic type arguments.
 /// </summary>
 /// <typeparam name="TVector"></typeparam>
 /// <returns></returns>
 public static VectorType Unpack <TVector>() where TVector : Vector
 {
     return(Memoizer.GetOrSet(() => InternalUnpack(typeof(TVector)), TimeSpan.FromDays(1), typeof(TVector)));
 }