Class TU<T, U>
- Namespace
- SunamoData.Data
- Assembly
- SunamoData.dll
Represents a generic key-value pair with types T and U.
public class TU<T, U>
Type Parameters
TThe type of the key.
UThe type of the value.
- Inheritance
-
TU<T, U>
- Inherited Members
- Extension Methods
Constructors
TU()
Initializes a new instance of the TU<T, U> class.
public TU()
TU(T, U)
Initializes a new instance of the TU<T, U> class with a key and value.
public TU(T key, U value)
Parameters
keyTThe key.
valueUThe value.
Properties
Key
Gets or sets the key.
public T Key { get; set; }
Property Value
- T
Value
Gets or sets the value.
public U Value { get; set; }
Property Value
- U
Methods
Get(T, U)
Creates a new instance of TU<T, U> with the specified key and value.
public static TU<T, U> Get(T key, U value)
Parameters
keyTThe key.
valueUThe value.