Table of Contents

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

T

The type of the key.

U

The 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

key T

The key.

value U

The 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

key T

The key.

value U

The value.

Returns

TU<T, U>

A new instance of TU<T, U>.