PairT1, T2 Class

Represents a pair of items. This should be used with caution, as setting item1 and item2 is not nice from JSON.
Inheritance Hierarchy
SystemObject
  Dundas.BI.WebApiPairT1, T2

Namespace: Dundas.BI.WebApi
Assembly: Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
[DataContractAttribute]
public sealed class Pair<T1, T2>

Type Parameters

T1
The type of the first item.
T2
The type of the second item.

The PairT1, T2 type exposes the following members.

Constructors
 NameDescription
Public methodPairT1, T2Initializes a new instance of the PairT1, T2 class
Top
Properties
 NameDescription
Public propertyItem1 Gets or sets the first item.
Public propertyItem2 Gets or sets the second item.
Top
Methods
 NameDescription
Public methodToTuple Converts the pair instance to a tuple.
Top
Operators
 NameDescription
Public operatorStatic member(PairT1, T2 to TupleT1, T2) Implicitly converts the pair instance to a tuple.
Top
See Also