A struct for storing tuples of length two.
struct
|
Pair
|
with
|
<TFirst>
|
||
<TSecond>
|
|||||
implements
|
IEquatable<Pair<TFirst, TSecond>>
|
The first tuple value.
public
readonly
field
|
First
|
||
type
|
TFirst
|
The second tuple value.
public
readonly
field
|
Second
|
||
type
|
TSecond
|
public
method
|
Equals
(Pair<TFirst, TSecond> other)
|
||
type
|
bool
|
||
params
|
other
|
Creates a new instance of Pair.
public
static
method
|
Get
(TFirst first = default(TFirst),
TSecond second = default(TSecond))
|
||
type
|
Pair<TFirst, TSecond>
|
||
params
|
first
|
The first tuple element. | |
second
|
The second tuple element. | ||
returns
|
The tuple value. |
Creates a new instance of IBlockIndexFormat for this tuple type.
public
static
method
|
IndexFormat
(IBlockIndexFormat<TFirst> first,
IBlockIndexFormat<TSecond> second)
|
||
type
|
IBlockIndexFormat<Pair<TFirst, TSecond>>
|
||
params
|
first
|
[not-null]
|
Block index format of first tuple element. |
second
|
[not-null]
|
Block index format of second tuple element. | |
returns
|
|
The IBlockIndexFormat object. |