Class Pair<T>
Represents a pair of values of the same type.
Inherited Members
Namespace: SdlSdl.LanguagePlatformCore
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 |