Class Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Represents a Template with twelve generic values.
public class Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> : Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>
Type Parameters
T1
The type of the first parameter of this Template.
T2
The type of the second parameter of this Template.
T3
The type of the third parameter of this Template.
T4
The type of the fourth parameter of this Template.
T5
The type of the fifth parameter of this Template.
T6
The type of the sixth parameter of this Template.
T7
The type of the seventh parameter of this Template.
T8
The type of the eighth parameter of this Template.
T9
The type of the ninth parameter of this Template.
T10
The type of the tenth parameter of this Template.
T11
The type of the eleventh parameter of this Template.
T12
The type of the twelfth parameter of this Template.
- Inheritance
-
ObjectTemplate<T1>Template<T1, T2>Template<T1, T2, T3>Template<T1, T2, T3, T4>Template<T1, T2, T3, T4, T5>Template<T1, T2, T3, T4, T5, T6>Template<T1, T2, T3, T4, T5, T6, T7>Template<T1, T2, T3, T4, T5, T6, T7, T8>Template<T1, T2, T3, T4, T5, T6, T7, T8, T9>Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>
- Derived
- Inherited Members
Remarks
Inspired by Tuple objects, Template, was chosen because of the naming conflict in newer version of the .NET Framework. The name, Template, was inspired by the Variadic Template in C++.
Constructors
Template(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
Initializes a new instance of the Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> class.
public Template(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, T12 arg12)
Parameters
arg1
T1The value of the first parameter of this Template.
arg2
T2The value of the second parameter of this Template.
arg3
T3The value of the third parameter of this Template.
arg4
T4The value of the fourth parameter of this Template.
arg5
T5The value of the fifth parameter of this Template.
arg6
T6The value of the sixth parameter of this Template.
arg7
T7The value of the seventh parameter of this Template.
arg8
T8The value of the eighth parameter of this Template.
arg9
T9The value of the ninth parameter of this Template.
arg10
T10The value of the tenth parameter of this Template.
arg11
T11The value of the eleventh parameter of this Template.
arg12
T12The value of the twelfth parameter of this Template.
Properties
Arg12
Gets or sets the twelfth parameter of this instance.
public T12 Arg12 { get; set; }
Property Value
- T12
The twelfth parameter of this instance.
Methods
Clone()
Creates a shallow copy of the current Template object.
public override Template Clone()
Returns
Remarks
When thread safety is required this is the method to invoke.
ToArray()
Returns an array of objects that represent the arguments passed to this instance.
public override object[] ToArray()
Returns
- Object[]
An array of objects that represent the arguments passed to this instance. Returns an empty array if the current instance was constructed with no generic arguments.