Represents a pair of items. This should be used with caution, as setting item1 and item2 is not nice from JSON.
Inheritance Hierarchy
Namespace:
Dundas.BI.WebApi
Assembly:
Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax [DataContractAttribute]
public sealed class Pair<T1, T2>
<DataContractAttribute>
Public NotInheritable Class Pair(Of T1, T2)
[DataContractAttribute]
generic<typename T1, typename T2>
public ref class Pair sealed
[<SealedAttribute>]
[<DataContractAttribute>]
type Pair<'T1, 'T2> = class end
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
| Name | Description |
---|
| PairT1, T2 | Initializes a new instance of the PairT1, T2 class |
TopProperties
| Name | Description |
---|
| Item1 |
Gets or sets the first item.
|
| Item2 |
Gets or sets the second item.
|
TopMethods
| Name | Description |
---|
| ToTuple |
Converts the pair instance to a tuple.
|
TopOperators See Also