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