Class Pair
Pair of two values.
Inheritance
Pair
Assembly: FlaxEngine.dll
File: Engine/Core/Types/BaseTypes.h
Syntax
public class Pair<T, U>
Type Parameters
T
|
U
|
Constructors
Pair()
Pair(const Pair& other)
Initializes a new instance of the Pair class.
Declaration
public Pair(const Pair& other)
Parameters
Pair
other
The other pair. |
Pair(const T& key, const U& value)
Initializes a new instance of the Pair class.
Declaration
public Pair(const T& key, const U& value)
Parameters
T
key
The key. |
U
value
The value. |
Pair(Pair&& other)
Initializes a new instance of the Pair class.
Declaration
public Pair(Pair&& other) noexcept
Parameters
Pair
other
The other pair. |
Fields
First
The first element.
Declaration
public T First
Field Value
T
|
Second
The second element.
Declaration
public U Second
Field Value
U
|