Table of Contents

Class MutableTuple<T1>

Namespace
Cuemon
Assembly
Cuemon.Core.dll

Represents a MutableTuple with a single generic value.

public class MutableTuple<T1> : MutableTuple

Type Parameters

T1

The type of the first parameter of this MutableTuple.

Inheritance
MutableTuple<T1>
Derived
Inherited Members

Constructors

MutableTuple(T1)

Initializes a new instance of the MutableTuple<T1> class.

public MutableTuple(T1 arg1)

Parameters

arg1 T1

The value of the parameter of this MutableTuple.

Properties

Arg1

Gets or sets the first parameter of this instance.

public T1 Arg1 { get; set; }

Property Value

T1

The first parameter of this instance.

IsEmpty

Gets a value indicating whether this MutableTuple is empty.

public override 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 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.