Class MutablePair<T1, T2>
A mutable 2-tuple.
Inheritance
System.Object
MutablePair<T1, T2>
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class MutablePair<T1, T2> : object
Type Parameters
Name | Description |
---|---|
T1 | First type the tuple holds. |
T2 | Second type the tuple holds. |
Constructors
MutablePair(T1, T2)
Initializes a new instance of the MutablePair<T1, T2> class.
Declaration
public MutablePair(T1 item1, T2 item2)
Parameters
Type | Name | Description |
---|---|---|
T1 | item1 | First item the tuple holds. |
T2 | item2 | Second item the tuple holds. |
Properties
Item1
Gets or sets the first item in the tuple.
Declaration
public T1 Item1 { get; set; }
Property Value
Type | Description |
---|---|
T1 |
Item2
Gets or sets the second item in the tuple.
Declaration
public T2 Item2 { get; set; }
Property Value
Type | Description |
---|---|
T2 |