Table of Contents

Class Template

Namespace
Cuemon
Assembly
Cuemon.Core.dll

Represents a Template with an empty value.

public class Template
Inheritance
Object
Template
Derived

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++.

Properties

IsEmpty

Gets a value indicating whether this Template is empty.

public virtual bool IsEmpty { get; }

Property Value

Boolean

true if this Template is empty; otherwise, false.

Methods

Clone()

Creates a shallow copy of the current Template object.

public virtual Template Clone()

Returns

Template

A new Template that is a copy of this instance.

Remarks

When thread safety is required this is the method to invoke.

CreateEight<T1, T2, T3, T4, T5, T6, T7, T8>(T1, T2, T3, T4, T5, T6, T7, T8)

Creates a new 8-tuple, or octuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8> CreateEight<T1, T2, T3, T4, T5, T6, T7, T8>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8>

An 8-tuple (octuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

CreateEighteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)

Creates a new 18-tuple, or octodecuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> CreateEighteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>(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)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

arg11 T11

The value of the eleventh parameter of the tuple.

arg12 T12

The value of the twelfth parameter of the tuple.

arg13 T13

The value of the thirteenth parameter of the tuple.

arg14 T14

The value of the fourteenth parameter of the tuple.

arg15 T15

The value of the fifteenth parameter of the tuple.

arg16 T16

The value of the sixteenth parameter of the tuple.

arg17 T17

The value of the seventeenth parameter of the tuple.

arg18 T18

The value of the eighteenth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>

An 18-tuple (octodecuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

T11

The type of the eleventh parameter of the tuple.

T12

The type of the twelfth parameter of the tuple.

T13

The type of the thirteenth parameter of the tuple.

T14

The type of the fourteenth parameter of the tuple.

T15

The type of the fifteenth parameter of the tuple.

T16

The type of the sixteenth parameter of the tuple.

T17

The type of the seventeenth parameter of the tuple.

T18

The type of the eighteenth parameter of the tuple.

CreateEleven<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)

Creates a new 11-tuple, or undecuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> CreateEleven<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

arg11 T11

The value of the eleventh parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>

A 11-tuple (undecuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

T11

The type of the eleventh parameter of the tuple.

CreateFifteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)

Creates a new 15-tuple, or quindecuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> CreateFifteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>(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)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

arg11 T11

The value of the eleventh parameter of the tuple.

arg12 T12

The value of the twelfth parameter of the tuple.

arg13 T13

The value of the thirteenth parameter of the tuple.

arg14 T14

The value of the fourteenth parameter of the tuple.

arg15 T15

The value of the fifteenth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>

A 15-tuple (quindecuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

T11

The type of the eleventh parameter of the tuple.

T12

The type of the twelfth parameter of the tuple.

T13

The type of the thirteenth parameter of the tuple.

T14

The type of the fourteenth parameter of the tuple.

T15

The type of the fifteenth parameter of the tuple.

CreateFive<T1, T2, T3, T4, T5>(T1, T2, T3, T4, T5)

Creates a new 5-tuple, or quintuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5> CreateFive<T1, T2, T3, T4, T5>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5>

A 5-tuple (quintuple) whose value is (arg1, arg2, arg3, arg4, arg5).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

CreateFour<T1, T2, T3, T4>(T1, T2, T3, T4)

Creates a new 4-tuple, or quadruple, representation of a Template.

public static Template<T1, T2, T3, T4> CreateFour<T1, T2, T3, T4>(T1 arg1, T2 arg2, T3 arg3, T4 arg4)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

Returns

Template<T1, T2, T3, T4>

A 4-tuple (quadruple) whose value is (arg1, arg2, arg3, arg4).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

CreateFourteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)

Creates a new 14-tuple, or quattuordecuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> CreateFourteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>(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)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

arg11 T11

The value of the eleventh parameter of the tuple.

arg12 T12

The value of the twelfth parameter of the tuple.

arg13 T13

The value of the thirteenth parameter of the tuple.

arg14 T14

The value of the fourteenth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>

A 14-tuple (quattuordecuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

T11

The type of the eleventh parameter of the tuple.

T12

The type of the twelfth parameter of the tuple.

T13

The type of the thirteenth parameter of the tuple.

T14

The type of the fourteenth parameter of the tuple.

CreateNine<T1, T2, T3, T4, T5, T6, T7, T8, T9>(T1, T2, T3, T4, T5, T6, T7, T8, T9)

Creates a new 9-tuple, or nonuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9> CreateNine<T1, T2, T3, T4, T5, T6, T7, T8, T9>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9>

A 9-tuple (nonuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

CreateNineteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)

Creates a new 19-tuple, or novemdecuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> CreateNineteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>(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)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

arg11 T11

The value of the eleventh parameter of the tuple.

arg12 T12

The value of the twelfth parameter of the tuple.

arg13 T13

The value of the thirteenth parameter of the tuple.

arg14 T14

The value of the fourteenth parameter of the tuple.

arg15 T15

The value of the fifteenth parameter of the tuple.

arg16 T16

The value of the sixteenth parameter of the tuple.

arg17 T17

The value of the seventeenth parameter of the tuple.

arg18 T18

The value of the eighteenth parameter of the tuple.

arg19 T19

The value of the nineteenth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>

A 19-tuple (novemdecuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

T11

The type of the eleventh parameter of the tuple.

T12

The type of the twelfth parameter of the tuple.

T13

The type of the thirteenth parameter of the tuple.

T14

The type of the fourteenth parameter of the tuple.

T15

The type of the fifteenth parameter of the tuple.

T16

The type of the sixteenth parameter of the tuple.

T17

The type of the seventeenth parameter of the tuple.

T18

The type of the eighteenth parameter of the tuple.

T19

The type of the nineteenth parameter of the tuple.

CreateOne<T>(T)

Creates a new 1-tuple, or single, representation of a Template.

public static Template<T> CreateOne<T>(T arg)

Parameters

arg T

The value of the only parameter of the tuple.

Returns

Template<T>

A 1-tuple (single) whose value is (arg1).

Type Parameters

T

The type of the only parameter of the tuple.

CreateSeven<T1, T2, T3, T4, T5, T6, T7>(T1, T2, T3, T4, T5, T6, T7)

Creates a new 7-tuple, or septuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7> CreateSeven<T1, T2, T3, T4, T5, T6, T7>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7>

An 7-tuple (septuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

CreateSeventeen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)

Creates a new 17-tuple, or septendecuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> CreateSeventeen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>(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)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

arg11 T11

The value of the eleventh parameter of the tuple.

arg12 T12

The value of the twelfth parameter of the tuple.

arg13 T13

The value of the thirteenth parameter of the tuple.

arg14 T14

The value of the fourteenth parameter of the tuple.

arg15 T15

The value of the fifteenth parameter of the tuple.

arg16 T16

The value of the sixteenth parameter of the tuple.

arg17 T17

The value of the seventeenth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>

A 17-tuple (septendecuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

T11

The type of the eleventh parameter of the tuple.

T12

The type of the twelfth parameter of the tuple.

T13

The type of the thirteenth parameter of the tuple.

T14

The type of the fourteenth parameter of the tuple.

T15

The type of the fifteenth parameter of the tuple.

T16

The type of the sixteenth parameter of the tuple.

T17

The type of the seventeenth parameter of the tuple.

CreateSix<T1, T2, T3, T4, T5, T6>(T1, T2, T3, T4, T5, T6)

Creates a new 6-tuple, or septuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6> CreateSix<T1, T2, T3, T4, T5, T6>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6>

A 6-tuple (sextuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

CreateSixteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)

Creates a new 16-tuple, or sexdecuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> CreateSixteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>(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)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

arg11 T11

The value of the eleventh parameter of the tuple.

arg12 T12

The value of the twelfth parameter of the tuple.

arg13 T13

The value of the thirteenth parameter of the tuple.

arg14 T14

The value of the fourteenth parameter of the tuple.

arg15 T15

The value of the fifteenth parameter of the tuple.

arg16 T16

The value of the sixteenth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>

A 16-tuple (sexdecuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

T11

The type of the eleventh parameter of the tuple.

T12

The type of the twelfth parameter of the tuple.

T13

The type of the thirteenth parameter of the tuple.

T14

The type of the fourteenth parameter of the tuple.

T15

The type of the fifteenth parameter of the tuple.

T16

The type of the sixteenth parameter of the tuple.

CreateTen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

Creates a new 10-tuple, or decuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> CreateTen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

A 10-tuple (decuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

CreateThirteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)

Creates a new 13-tuple, or tredecuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> CreateThirteen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>(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)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

arg11 T11

The value of the eleventh parameter of the tuple.

arg12 T12

The value of the twelfth parameter of the tuple.

arg13 T13

The value of the thirteenth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>

A 13-tuple (tredecuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

T11

The type of the eleventh parameter of the tuple.

T12

The type of the twelfth parameter of the tuple.

T13

The type of the thirteenth parameter of the tuple.

CreateThree<T1, T2, T3>(T1, T2, T3)

Creates a new 3-tuple, or triple, representation of a Template.

public static Template<T1, T2, T3> CreateThree<T1, T2, T3>(T1 arg1, T2 arg2, T3 arg3)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

Returns

Template<T1, T2, T3>

A 3-tuple (triple) whose value is (arg1, arg2, arg3).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

CreateTwelve<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)

Creates a new 12-tuple, or duodecuple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> CreateTwelve<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(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 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

arg11 T11

The value of the eleventh parameter of the tuple.

arg12 T12

The value of the twelfth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>

A 12-tuple (duodecuple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

T11

The type of the eleventh parameter of the tuple.

T12

The type of the twelfth parameter of the tuple.

CreateTwenty<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)

Creates a new 20-tuple, or viguple, representation of a Template.

public static Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20> CreateTwenty<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>(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

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

arg3 T3

The value of the third parameter of the tuple.

arg4 T4

The value of the fourth parameter of the tuple.

arg5 T5

The value of the fifth parameter of the tuple.

arg6 T6

The value of the sixth parameter of the tuple.

arg7 T7

The value of the seventh parameter of the tuple.

arg8 T8

The value of the eighth parameter of the tuple.

arg9 T9

The value of the ninth parameter of the tuple.

arg10 T10

The value of the tenth parameter of the tuple.

arg11 T11

The value of the eleventh parameter of the tuple.

arg12 T12

The value of the twelfth parameter of the tuple.

arg13 T13

The value of the thirteenth parameter of the tuple.

arg14 T14

The value of the fourteenth parameter of the tuple.

arg15 T15

The value of the fifteenth parameter of the tuple.

arg16 T16

The value of the sixteenth parameter of the tuple.

arg17 T17

The value of the seventeenth parameter of the tuple.

arg18 T18

The value of the eighteenth parameter of the tuple.

arg19 T19

The value of the nineteenth parameter of the tuple.

arg20 T20

The value of the twentieth parameter of the tuple.

Returns

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>

A 20-tuple (viguple) whose value is (arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

T3

The type of the third parameter of the tuple.

T4

The type of the fourth parameter of the tuple.

T5

The type of the fifth parameter of the tuple.

T6

The type of the sixth parameter of the tuple.

T7

The type of the seventh parameter of the tuple.

T8

The type of the eighth parameter of the tuple.

T9

The type of the ninth parameter of the tuple.

T10

The type of the tenth parameter of the tuple.

T11

The type of the eleventh parameter of the tuple.

T12

The type of the twelfth parameter of the tuple.

T13

The type of the thirteenth parameter of the tuple.

T14

The type of the fourteenth parameter of the tuple.

T15

The type of the fifteenth parameter of the tuple.

T16

The type of the sixteenth parameter of the tuple.

T17

The type of the seventeenth parameter of the tuple.

T18

The type of the eighteenth parameter of the tuple.

T19

The type of the nineteenth parameter of the tuple.

T20

The type of the twentieth parameter of the tuple.

CreateTwo<T1, T2>(T1, T2)

Creates a new 2-tuple, or double, representation of a Template.

public static Template<T1, T2> CreateTwo<T1, T2>(T1 arg1, T2 arg2)

Parameters

arg1 T1

The value of the first parameter of the tuple.

arg2 T2

The value of the second parameter of the tuple.

Returns

Template<T1, T2>

A 2-tuple (double) whose value is (arg1, arg2).

Type Parameters

T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

CreateZero()

Creates a new 0-tuple, or empty tuple, representation of a Template.

public static Template CreateZero()

Returns

Template

A 0-tuple (empty) with no value.

ToArray()

Returns an array of objects that represent the arguments passed to this instance.

public virtual 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.

ToArray(Object[])

Returns an array of objects that represent the arguments passed to this instance concatenated with the specified additionalArgs.

public object[] ToArray(params object[] additionalArgs)

Parameters

additionalArgs Object[]

The additional arguments to concatenate with the objects that represent the arguments passed to this instance.

Returns

Object[]

An array of objects that represent the arguments passed to this instance concatenated with the specified additionalArgs.

ToString()

Returns a System.String that represents this instance.

public override string ToString()

Returns

String

A System.String that represents this instance.