Class MutableTuple<T1, T2, T3>
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Represents a MutableTuple with three generic values.
public class MutableTuple<T1, T2, T3> : MutableTuple<T1, T2>
Type Parameters
T1
The type of the first parameter of this MutableTuple.
T2
The type of the second parameter of this MutableTuple.
T3
The type of the third parameter of this MutableTuple.
- Inheritance
-
MutableTuple<T1>MutableTuple<T1, T2>MutableTuple<T1, T2, T3>
- Derived
- Inherited Members
Constructors
MutableTuple(T1, T2, T3)
Initializes a new instance of the MutableTuple<T1, T2, T3> class.
public MutableTuple(T1 arg1, T2 arg2, T3 arg3)
Parameters
arg1
T1The value of the first parameter of this MutableTuple.
arg2
T2The value of the second parameter of this MutableTuple.
arg3
T3The value of the third parameter of this MutableTuple.
Properties
Arg3
Gets or sets the third parameter of this instance.
public T3 Arg3 { get; set; }
Property Value
- T3
The third parameter of this instance.
Methods
Clone()
Creates a shallow copy of the current MutableTuple object.
public override MutableTuple Clone()
Returns
- MutableTuple
A new MutableTuple that is a copy of this instance.
Remarks
When thread safety is required this is the method to invoke.
ToArray()
Returns an array of objects that represent the arguments passed to this instance.
public override object[] ToArray()
Returns
- Object[]
An array of objects that represent the arguments passed to this instance. Returns an empty array if the current instance was constructed with no generic arguments.