Show / Hide Table of Contents

Class Template<T1, T2, T3, T4>

Represents a Template with four generic values.

Inheritance
Object
Template
Template<T1>
Template<T1, T2>
Template<T1, T2, T3>
Template<T1, T2, T3, T4>
Template<T1, T2, T3, T4, T5>
Inherited Members
Template<T1, T2, T3>.Arg3
Template<T1, T2, T3>.ToArray()
Template<T1, T2, T3>.Clone()
Template<T1, T2>.Arg2
Template<T1, T2>.ToArray()
Template<T1, T2>.Clone()
Template<T1>.Arg1
Template<T1>.IsEmpty
Template.CreateZero()
Template.CreateOne<T>(T)
Template.CreateTwo<T1, T2>(T1, T2)
Template.CreateThree<T1, T2, T3>(T1, T2, T3)
Template.CreateFour<T1, T2, T3, T4>(T1, T2, T3, T4)
Template.CreateFive<T1, T2, T3, T4, T5>(T1, T2, T3, T4, T5)
Template.CreateSix<T1, T2, T3, T4, T5, T6>(T1, T2, T3, T4, T5, T6)
Template.CreateSeven<T1, T2, T3, T4, T5, T6, T7>(T1, T2, T3, T4, T5, T6, T7)
Template.CreateEight<T1, T2, T3, T4, T5, T6, T7, T8>(T1, T2, T3, T4, T5, T6, T7, T8)
Template.CreateNine<T1, T2, T3, T4, T5, T6, T7, T8, T9>(T1, T2, T3, T4, T5, T6, T7, T8, T9)
Template.CreateTen<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
Template.CreateEleven<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
Template.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)
Template.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)
Template.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)
Template.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)
Template.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)
Template.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)
Template.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)
Template.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)
Template.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)
Template.ToArray(Object[])
Template.ToString()
Namespace: Cuemon
Assembly: Cuemon.Core.dll
Syntax
public class Template<T1, T2, T3, T4> : Template<T1, T2, T3>
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.

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 Doc View Source

Template(T1, T2, T3, T4)

Initializes a new instance of the Template<T1, T2, T3, T4> class.

Declaration
public Template(T1 arg1, T2 arg2, T3 arg3, T4 arg4)
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.

Properties

| Improve this Doc View Source

Arg4

Gets or sets the fourth parameter of this instance.

Declaration
public T4 Arg4 { get; set; }
Property Value
Type Description
T4

The fourth parameter of this instance.

Methods

| Improve this Doc View Source

Clone()

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
Cuemon.Template<T1, T2, T3>.Clone()
Remarks

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

| Improve this Doc View Source

ToArray()

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

Declaration
public override 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.

Overrides
Cuemon.Template<T1, T2, T3>.ToArray()
  • 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