Class Triple<T1, T2, T3>
A 3-tuple.
Inheritance
System.Object
Triple<T1, T2, T3>
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class Triple<T1, T2, T3> : object
Type Parameters
Name | Description |
---|---|
T1 | First type the tuple holds. |
T2 | Second type the tuple holds. |
T3 | Third type the tuple holds. |
Constructors
Triple(T1, T2, T3)
Initializes a new instance of the Triple<T1, T2, T3> class.
Declaration
public Triple(T1 item1, T2 item2, T3 item3)
Parameters
Type | Name | Description |
---|---|---|
T1 | item1 | First item the tuple holds. |
T2 | item2 | Second item the tuple holds. |
T3 | item3 | Third item the tuple holds. |
Properties
Item1
Gets the first item in the tuple.
Declaration
public T1 Item1 { get; }
Property Value
Type | Description |
---|---|
T1 |
Item2
Gets the second item in the tuple.
Declaration
public T2 Item2 { get; }
Property Value
Type | Description |
---|---|
T2 |
Item3
Gets the third item in the tuple.
Declaration
public T3 Item3 { get; }
Property Value
Type | Description |
---|---|
T3 |