Class Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>
Represents a Template with twenty generic values.
Inheritance
Inherited Members
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> : Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>
Type Parameters
Name | Description |
---|---|
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. |
T13 | The type of the thirteenth parameter of this Template. |
T14 | The type of the fourteenth parameter of this Template. |
T15 | The type of the fifteenth parameter of this Template. |
T16 | The type of the sixteenth parameter of this Template. |
T17 | The type of the seventeenth parameter of this Template. |
T18 | The type of the eighteenth parameter of this Template. |
T19 | The type of the nineteenth parameter of this Template. |
T20 | The type of the twentieth parameter of this Template. |
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
| Improve this DocTemplate(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)
Initializes a new instance of the Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> class.
Declaration
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, T13 arg13, T14 arg14, T15 arg15, T16 arg16, T17 arg17, T18 arg18, T19 arg19, T20 arg20)
Parameters
Type | Name | Description |
---|---|---|
T1 | arg1 | The value of the first parameter of this Template. |
T2 | arg2 | The value of the second parameter of this Template. |
T3 | arg3 | The value of the third parameter of this Template. |
T4 | arg4 | The value of the fourth parameter of this Template. |
T5 | arg5 | The value of the fifth parameter of this Template. |
T6 | arg6 | The value of the sixth parameter of this Template. |
T7 | arg7 | The value of the seventh parameter of this Template. |
T8 | arg8 | The value of the eighth parameter of this Template. |
T9 | arg9 | The value of the ninth parameter of this Template. |
T10 | arg10 | The value of the tenth parameter of this Template. |
T11 | arg11 | The value of the eleventh parameter of this Template. |
T12 | arg12 | The value of the twelfth parameter of this Template. |
T13 | arg13 | The value of the thirteenth parameter of this Template. |
T14 | arg14 | The value of the fourteenth parameter of this Template. |
T15 | arg15 | The value of the fifteenth parameter of this Template. |
T16 | arg16 | The value of the sixteenth parameter of this Template. |
T17 | arg17 | The value of the seventeenth parameter of this Template. |
T18 | arg18 | The value of the eighteenth parameter of this Template. |
T19 | arg19 | The value of the nineteenth parameter of this Template. |
T20 | arg20 | The value of the twentieth parameter of this Template. |
Properties
| Improve this DocArg20
Gets or sets the twentieth parameter of this instance.
Declaration
public T20 Arg20 { get; set; }
Property Value
Type | Description |
---|---|
T20 | The twentieth parameter of this instance. |
Methods
| Improve this DocClone()
Creates a shallow copy of the current Template object.
Declaration
public override Template Clone()
Returns
Type | Description |
---|---|
Template | A new Template that is a copy of this instance. |
Overrides
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.
Declaration
public override object[] ToArray()
Returns
Type | Description |
---|---|
System.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. |