Class Pair<T>
Represents a pair of values of the same type.
Inheritance
System.Object
Pair<T>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core.dll
Syntax
public class Pair<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
Pair()
Initializes a new instance with the default values of T
.
Declaration
public Pair()
Pair(T, T)
Initializes a new instance with the specified values.
Declaration
public Pair(T left, T right)
Parameters
Type | Name | Description |
---|---|---|
T | left | The left value |
T | right | The right value |
Fields
Left
Gets or sets the left value.
Declaration
public T Left
Field Value
Type | Description |
---|---|
T |
Right
Gets or sets the right value.
Declaration
public T Right
Field Value
Type | Description |
---|---|
T |