Table of Contents

MutableTupleFactory<TTuple> Class

Definition

Namespace
Cuemon
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/MutableTupleFactory.cs

Provides a base-class for delegate based factories.

public abstract class MutableTupleFactory<TTuple> where TTuple : MutableTuple

Type Parameters

TTuple

The type of the n-tuple representation of a MutableTuple.

Inheritance
MutableTupleFactory<TTuple>
Derived

Constructors

Name Description
MutableTupleFactory(TTuple, bool)

Initializes a new instance of the MutableTupleFactory<TTuple> class.

Properties

Name Description
DelegateInfo

Gets the method represented by the delegate.

GenericArguments

Gets a n-tuple representation of a MutableTuple that represents the generic arguments passed to this instance.

HasDelegate

Gets a value indicating whether this instance has an assigned delegate.

Methods

Name Description
Clone()

Creates a shallow copy of the current MutableTupleFactory<TTuple> object.

ThrowIfNoValidDelegate(bool)

Validates and throws an InvalidOperationException if this instance has no valid delegate.

ToString()

Returns a string that represents this instance.