Show / Hide Table of Contents

Class Template

Represents a Template with an empty value.

Inheritance
Object
Template
Template<T1>
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class 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++.

Properties

| Improve this Doc View Source

IsEmpty

Gets a value indicating whether this Template is empty.

Declaration
public virtual bool IsEmpty { get; }
Property Value
Type Description
Boolean

true if this Template is empty; otherwise, false.

Methods

| Improve this Doc View Source

Clone()

Creates a shallow copy of the current Template object.

Declaration
public virtual Template Clone()
Returns
Type Description
Template

A new Template that is a copy of this instance.

Remarks

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

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

T11 arg11

The value of the eleventh parameter of the tuple.

T12 arg12

The value of the twelfth parameter of the tuple.

T13 arg13

The value of the thirteenth parameter of the tuple.

T14 arg14

The value of the fourteenth parameter of the tuple.

T15 arg15

The value of the fifteenth parameter of the tuple.

T16 arg16

The value of the sixteenth parameter of the tuple.

T17 arg17

The value of the seventeenth parameter of the tuple.

T18 arg18

The value of the eighteenth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

T11 arg11

The value of the eleventh parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

T11 arg11

The value of the eleventh parameter of the tuple.

T12 arg12

The value of the twelfth parameter of the tuple.

T13 arg13

The value of the thirteenth parameter of the tuple.

T14 arg14

The value of the fourteenth parameter of the tuple.

T15 arg15

The value of the fifteenth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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

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

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

Returns
Type Description
Template<T1, T2, T3, T4, T5>

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

Type Parameters
Name Description
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.

| Improve this Doc View Source

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

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

Declaration
public static Template<T1, T2, T3, T4> CreateFour<T1, T2, T3, T4>(T1 arg1, T2 arg2, T3 arg3, T4 arg4)
Parameters
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

Returns
Type Description
Template<T1, T2, T3, T4>

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

Type Parameters
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

T11 arg11

The value of the eleventh parameter of the tuple.

T12 arg12

The value of the twelfth parameter of the tuple.

T13 arg13

The value of the thirteenth parameter of the tuple.

T14 arg14

The value of the fourteenth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

T11 arg11

The value of the eleventh parameter of the tuple.

T12 arg12

The value of the twelfth parameter of the tuple.

T13 arg13

The value of the thirteenth parameter of the tuple.

T14 arg14

The value of the fourteenth parameter of the tuple.

T15 arg15

The value of the fifteenth parameter of the tuple.

T16 arg16

The value of the sixteenth parameter of the tuple.

T17 arg17

The value of the seventeenth parameter of the tuple.

T18 arg18

The value of the eighteenth parameter of the tuple.

T19 arg19

The value of the nineteenth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

CreateOne<T>(T)

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

Declaration
public static Template<T> CreateOne<T>(T arg)
Parameters
Type Name Description
T arg

The value of the only parameter of the tuple.

Returns
Type Description
Template<T>

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

Type Parameters
Name Description
T

The type of the only parameter of the tuple.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

Returns
Type Description
Template<T1, T2, T3, T4, T5, T6, T7>

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

Type Parameters
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

T11 arg11

The value of the eleventh parameter of the tuple.

T12 arg12

The value of the twelfth parameter of the tuple.

T13 arg13

The value of the thirteenth parameter of the tuple.

T14 arg14

The value of the fourteenth parameter of the tuple.

T15 arg15

The value of the fifteenth parameter of the tuple.

T16 arg16

The value of the sixteenth parameter of the tuple.

T17 arg17

The value of the seventeenth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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

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

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

Returns
Type Description
Template<T1, T2, T3, T4, T5, T6>

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

Type Parameters
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

T11 arg11

The value of the eleventh parameter of the tuple.

T12 arg12

The value of the twelfth parameter of the tuple.

T13 arg13

The value of the thirteenth parameter of the tuple.

T14 arg14

The value of the fourteenth parameter of the tuple.

T15 arg15

The value of the fifteenth parameter of the tuple.

T16 arg16

The value of the sixteenth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

T11 arg11

The value of the eleventh parameter of the tuple.

T12 arg12

The value of the twelfth parameter of the tuple.

T13 arg13

The value of the thirteenth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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

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

Declaration
public static Template<T1, T2, T3> CreateThree<T1, T2, T3>(T1 arg1, T2 arg2, T3 arg3)
Parameters
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

Returns
Type Description
Template<T1, T2, T3>

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

Type Parameters
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

T11 arg11

The value of the eleventh parameter of the tuple.

T12 arg12

The value of the twelfth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

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.

Declaration
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
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

T3 arg3

The value of the third parameter of the tuple.

T4 arg4

The value of the fourth parameter of the tuple.

T5 arg5

The value of the fifth parameter of the tuple.

T6 arg6

The value of the sixth parameter of the tuple.

T7 arg7

The value of the seventh parameter of the tuple.

T8 arg8

The value of the eighth parameter of the tuple.

T9 arg9

The value of the ninth parameter of the tuple.

T10 arg10

The value of the tenth parameter of the tuple.

T11 arg11

The value of the eleventh parameter of the tuple.

T12 arg12

The value of the twelfth parameter of the tuple.

T13 arg13

The value of the thirteenth parameter of the tuple.

T14 arg14

The value of the fourteenth parameter of the tuple.

T15 arg15

The value of the fifteenth parameter of the tuple.

T16 arg16

The value of the sixteenth parameter of the tuple.

T17 arg17

The value of the seventeenth parameter of the tuple.

T18 arg18

The value of the eighteenth parameter of the tuple.

T19 arg19

The value of the nineteenth parameter of the tuple.

T20 arg20

The value of the twentieth parameter of the tuple.

Returns
Type Description
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
Name Description
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.

| Improve this Doc View Source

CreateTwo<T1, T2>(T1, T2)

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

Declaration
public static Template<T1, T2> CreateTwo<T1, T2>(T1 arg1, T2 arg2)
Parameters
Type Name Description
T1 arg1

The value of the first parameter of the tuple.

T2 arg2

The value of the second parameter of the tuple.

Returns
Type Description
Template<T1, T2>

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

Type Parameters
Name Description
T1

The type of the first parameter of the tuple.

T2

The type of the second parameter of the tuple.

| Improve this Doc View Source

CreateZero()

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

Declaration
public static Template CreateZero()
Returns
Type Description
Template

A 0-tuple (empty) with no value.

| Improve this Doc View Source

ToArray()

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

Declaration
public virtual object[] ToArray()
Returns
Type Description
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.

| Improve this Doc View Source

ToArray(Object[])

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

Declaration
public object[] ToArray(params object[] additionalArgs)
Parameters
Type Name Description
Object[] additionalArgs

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

Returns
Type Description
Object[]

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

| Improve this Doc View Source

ToString()

Returns a String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
String

A String that represents this instance.

Overrides
Object.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX