Codemaid
This commit is contained in:
@@ -19,6 +19,7 @@ public static class TupleExtensions
|
||||
(T3)Convert.ChangeType(parameters[2], typeof(T3)),
|
||||
(T4)Convert.ChangeType(parameters[3], typeof(T4))
|
||||
);
|
||||
|
||||
public static (T1, T2, T3, T4, T5) CreateValueTuple<T1, T2, T3, T4, T5>(this object[] parameters) => (
|
||||
(T1)Convert.ChangeType(parameters[0], typeof(T1)),
|
||||
(T2)Convert.ChangeType(parameters[1], typeof(T2)),
|
||||
@@ -56,4 +57,4 @@ public static class TupleExtensions
|
||||
(T7)Convert.ChangeType(parameters[6], typeof(T7)),
|
||||
(T8)Convert.ChangeType(parameters[7], typeof(T8))
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user