Class MutablePair<T1, T2>
A mutable 2-tuple.
Inheritance
System.Object
MutablePair<T1, T2>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class MutablePair<T1, T2>
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 |