/// <summary> /// Creates a new 7-dimensional canonical product. /// </summary> public static IProduct7 <T1, T2, T3, T4, T5, T6, T7> Create <T1, T2, T3, T4, T5, T6, T7>(IProduct7 <T1, T2, T3, T4, T5, T6, T7> p) { if (Equals(p.GetType(), typeof(Product7 <T1, T2, T3, T4, T5, T6, T7>))) { return(p); } return(Create(p.ProductValue1, p.ProductValue2, p.ProductValue3, p.ProductValue4, p.ProductValue5, p.ProductValue6, p.ProductValue7)); }
/// <summary> /// Creates a new 7-dimensional canonical product. /// </summary> public static Position7 <P1, P2, P3, P4, P5, P6, P7> Create <P1, P2, P3, P4, P5, P6, P7>(IProduct7 <P1, P2, P3, P4, P5, P6, P7> p) { return(Create(p.ProductValue1, p.ProductValue2, p.ProductValue3, p.ProductValue4, p.ProductValue5, p.ProductValue6, p.ProductValue7)); }