Open this page in the API Guide

Pair<T1, 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
System.Object
  Dundas.BI.WebApi.Pair<T1, T2>

Namespace:  Dundas.BI.WebApi
Assembly:  Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (25.1.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 Pair<T1, T2> type exposes the following members.

Constructors
  NameDescription
Public methodPair<T1, T2>
Initializes a new instance of the Pair<T1, 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
See Also