Class Tuple<T1, T2>
Represents a 2-tuple, or pair.
Inheritance
System.Object
Tuple<T1, T2>
Namespace: Syncfusion.UI.Xaml.Diagram
Assembly: Syncfusion.SfDiagram.WPF.dll
Syntax
public class Tuple<T1, T2> : Object
Type Parameters
Name |
---|
T1 |
T2 |
Constructors
Tuple(T1, T2)
Initializes a new instance of the Tuple<T1, T2> class.
Declaration
public Tuple(T1 item1, T2 item2)
Parameters
Type | Name | Description |
---|---|---|
T1 | item1 | The type of the tuple's first component. |
T2 | item2 | The type of the tuple's second component. |
Properties
Item1
Gets the value of the current Tuple object's first component.
Declaration
public T1 Item1 { get; }
Property Value
Type |
---|
T1 |
Item2
Gets the value of the current Tuple object's second component.
Declaration
public T2 Item2 { get; }
Property Value
Type |
---|
T2 |