Class MutableTuple
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Represents a MutableTuple with an empty value.
public class MutableTuple
- Inheritance
-
MutableTuple
- Derived
Constructors
MutableTuple()
Initializes a new instance of the MutableTuple class.
public MutableTuple()
Properties
IsEmpty
Gets a value indicating whether this MutableTuple is empty.
public virtual bool IsEmpty { get; }
Property Value
- Boolean
true
if this MutableTuple is empty; otherwise,false
.
Methods
Clone()
Creates a shallow copy of the current MutableTuple object.
public virtual 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 virtual 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.
ToArray(Object[])
Returns an array of objects that represent the arguments passed to this instance concatenated with the specified additionalArgs
.
public object[] ToArray(params object[] additionalArgs)
Parameters
additionalArgs
Object[]The additional arguments to concatenate with the objects that represent the arguments passed to this instance.
Returns
- Object[]
An array of objects that represent the arguments passed to this instance concatenated with the specified
additionalArgs
.
ToString()
Returns a String that represents this instance.
public override string ToString()