Show / Hide Table of Contents

Namespace Cuemon

The Cuemon namespace contains fundamental types such as value and reference types, factories and utility classes, interfaces, attributes and feature rich delegates to support functional programming to a whole new level. The namespace is an addition to the System namespace.

Availability: NET Standard 2.0, .NET 6.0

Complements: System namespace 🔗

Related: Cuemon.Extensions namespace 📘

Github branches 🖇️

development 🧪
release 🎬
master 🛡️

NuGet packages

📦 Focus Pack
Cuemon (CI)
Cuemon (Stable and Preview)
NuGet Version NuGet Preview Version NuGet Downloads

🏭 Productivity Pack
Cuemon.App (CI)
Cuemon.App (Stable and Preview)
NuGet Version NuGet Preview Version NuGet Downloads

Classes

ActionFactory

Provides access to factory methods for creating ActionFactory<TTuple> instances that encapsulate a delegate with a variable amount of generic arguments.

ActionFactory<TTuple>

Provides an easy way of invoking an Action delegate regardless of the amount of parameters provided.

Alphanumeric

Provides a set of alphanumeric constant and static fields that consists of both letters, numbers and other symbols (such as punctuation marks and mathematical symbols).

BinaryPrefix

Defines a binary unit prefix for multiples of measurement for data that refers strictly to powers of 2. This class cannot be inherited.

BitStorageCapacity

Represent a table of both binary and metric prefixes for a BitUnit. This class cannot be inherited from.

BitUnit

Represents a unit of measurement for bits and is used with measurement of data.

ByteArrayDecoratorExtensions

Extension methods for the byte[] tailored to adhere the decorator pattern.

ByteStorageCapacity

Represent a table of both binary and metric prefixes for a ByteUnit. This class cannot be inherited from.

ByteUnit

Represents a unit of measurement for bytes and is used with measurement of data.

Calculator

Provides a set of static methods for generic arithmetic assignment operations.

CharDecoratorExtensions

Extension methods for the Char struct tailored to adhere the decorator pattern.

Condition

Provide ways to verify conditions a generic way for countless scenarios using true/false propositions.

Convertible

Provides a set of static methods, suitable for verifying integrity of data, that convert IConvertible implementations to and from a sequence of bytes.

ConvertibleConverterDictionary

Represents a collection of function delegates that converts an IConvertible implementation to its byte[] equivalent.

ConvertibleOptions

Configuration options for Convertible.

DataPair

Represents a generic way to provide information about arbitrary data.

DataPair<T>

Represents a generic way to provide information about arbitrary data.

DateTimeDecoratorExtensions

Extension methods for the DateTime struct tailored to adhere the decorator pattern.

DateTimeRange

Represents a period of time between two DateTime values.

DayPart

Represents a part of a day. The built-in parts of day supports a roughly way to determine whether it is; Night, Morning, Forenoon, Afternoon or Evening. Keep in mind that there is no exact science for day parts; it is as much a cultural as it is a personal preference.

DecimalPrefix

Defines a decimal (metric) unit prefix for multiples and submultiples of measurement that refers strictly to powers of 10. This class cannot be inherited.

Decorator

Provides a way to dynamically enclose/wrap an object to support the decorator pattern.

Decorator<T>

Provides a generic way to support the implementation of the decorator pattern. Implements the IDecorator<T>

DelimitedString

Provides a set of static methods to convert a sequence into a delimited string and break a delimited string into substrings.

DelimitedStringOptions

Configuration options for Split(String, Action<DelimitedStringOptions>).

DelimitedStringOptions<T>

Configuration options for DelimitedString.

Disposable

Provides a mechanism for releasing both managed and unmanaged resources with focus on the former. Implements the IDisposable

DisposableOptions

Configuration options for IDisposable.

DoubleDecoratorExtensions

Extension methods for the Double struct tailored to adhere the decorator pattern.

EndianOptions

Configuration options for BitConverter.

Eradicate

Provides a set of static methods for eradicating different types of values or sequences of values.

ExceptionCondition<TException>

Provides a fluent and generic way to setup a condition for raising an Exception.

ExceptionDecoratorExtensions

Extension methods for the Exception class tailored to adhere the decorator pattern.

ExceptionHandler<TException>

Provides a generic way to handle an Exception.

ExceptionHandler<TException, TResult>

Provides a generic way to handle an Exception.

ExceptionInsights

Provides a set of static methods for embedding environment specific insights to an exception.

ExceptionInvoker<TException>

Provides a generic way to throw an Exception.

ExceptionInvoker<TException, TResult>

Provides a generic way to throw an Exception.

FinalizeDisposable

Provides a mechanism for releasing both managed and unmanaged resources with focus on the latter. Implements the Disposable

FormattingOptions<T>

Configuration options for IFormatProvider.

FuncFactory

Provides access to factory methods for creating FuncFactory<TTuple, TResult> instances that encapsulate a function delegate with a variable amount of generic arguments.

FuncFactory<TTuple, TResult>

Provides an easy way of invoking an Func<TResult> function delegate regardless of the amount of parameters provided.

Generate

Provides a set of static methods for generating different types of values or sequences of values.

Hierarchy

Provides a set of static methods for hierarchy related operations.

Hierarchy<T>

Represents a way to expose a node of a hierarchical structure, including the node object of type T.

HierarchyDecoratorExtensions

Extension methods for the IHierarchy<T> interface tailored to adhere the decorator pattern.

IndexMapping

Defines the mapping between a column/field/item in a data source and a column/field/item in the data destination. This class cannot be inherited.

Initializer

Provides a generic way to wrap and initialize a class for countless scenarios.

InitializerBuilder<T>

Supports the Initializer for building custom initializers.

IntegerDecoratorExtensions

Extension methods for the Int16, Int32 and Int64 structs tailored to adhere the decorator pattern.

Mapping

Defines the mapping between a column/field/item in a data source and a column/field/item in the data destination.

MultipleTable

Provides a way to represent a table of prefixes that precedes a unit of measure to indicate a multiple of the unit. Implements the IEquatable<T>

ObjectDecoratorExtensions

Extension methods for the Object class tailored to adhere the decorator pattern.

ObjectFormattingOptions

Configuration options for FromObject() and methods of ObjectDecoratorExtensions.

ObjectPortrayalOptions

Configuration options for ObjectPortrayal(Object, Action<ObjectPortrayalOptions>).

Patterns

Provides a generic way to support different types of design patterns and practices with small utility methods.

PrefixMultiple

Represents the base class from which all implementations of unit prefix that can can be expressed as a either a multiple or a submultiple of the unit of measurement should derive. Implements the IPrefixMultiple

PrefixMultipleDecoratorExtensions

Extension methods for the IPrefixMultiple class tailored to adhere the decorator pattern.

PrefixUnit

Represents the base class from which all implementations of a unit of measurement should derive. Implements the IPrefixUnit

Range<T>

Represents a period of time between two T.

ReservedKeywordException

The exception that is thrown when the value of an argument is a reserved keyword.

StorageCapacity

Provides a way to represent a table of both binary and metric prefixes that precedes a unit of measure optimized for storage capacity measurement standards.

StorageCapacityOptions

Configuration options for StorageCapacity.

StringDecoratorExtensions

Extension methods for the String class tailored to adhere the decorator pattern.

StringFactory

Provides access to factory methods for creating and configuring encoded String instances.

TaskActionFactory

Provides access to factory methods for creating TaskActionFactory<TTuple> instances that encapsulate a Task based function delegate with a variable amount of generic arguments.

TaskActionFactory<TTuple>

Provides an easy way of invoking an Action delegate regardless of the amount of parameters provided.

TaskFuncFactory

Provides access to factory methods for creating TaskFuncFactory<TTuple, TResult> instances that encapsulate a Task<TResult> based function delegate with a variable amount of generic arguments.

TaskFuncFactory<TTuple, TResult>

Provides an easy way of invoking an Func<TResult> function delegate regardless of the amount of parameters provided.

Template

Represents a Template with an empty value.

Template<T1>

Represents a Template with a single generic value.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>

Represents a Template with ten generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>

Represents a Template with eleven generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>

Represents a Template with twelve generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13>

Represents a Template with thirteen generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14>

Represents a Template with fourteen generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15>

Represents a Template with fifteen generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16>

Represents a Template with sixteen generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17>

Represents a Template with seventeen generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18>

Represents a Template with eighteen generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>

Represents a Template with nineteen generic values.

Template<T1, T2>

Represents a Template with two generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20>

Represents a Template with twenty generic values.

Template<T1, T2, T3>

Represents a Template with three generic values.

Template<T1, T2, T3, T4>

Represents a Template with four generic values.

Template<T1, T2, T3, T4, T5>

Represents a Template with five generic values.

Template<T1, T2, T3, T4, T5, T6>

Represents a Template with six generic values.

Template<T1, T2, T3, T4, T5, T6, T7>

Represents a Template with seven generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8>

Represents a Template with eight generic values.

Template<T1, T2, T3, T4, T5, T6, T7, T8, T9>

Represents a Template with nine generic values.

TemplateFactory<TTuple>

Provides a base-class for delegate based factories.

TesterFuncFactory

Provides access to factory methods for creating TesterFuncFactory<TTuple, TResult, TSuccess> instances that encapsulate a tester function delegate with a variable amount of generic arguments.

TesterFuncFactory<TTuple, TResult, TSuccess>

Provides an easy way of invoking an TesterFunc<TResult, TSuccess> function delegate regardless of the amount of parameters provided.

TimeRange

Represents a period of time between two TimeSpan values.

Tweaker

Provides a way to change any instance of the same generic type.

TypeArgumentException

The exception that is thrown when one of the type arguments provided to a method is not valid.

TypeArgumentOutOfRangeException

The exception that is thrown when the value of an type argument is outside the allowable range of values as defined by the invoked method.

TypeDecoratorExtensions

Extension methods for the Type class tailored to adhere the decorator pattern.

UnitFormatOptions

Configuration options for BitUnit and ByteUnit. Implements the FormattingOptions<T>

UnitPrefixFormatter

Defines the string formatting of objects having an implementation of either IPrefixUnit or IUnit. Implements the IFormatProvider Implements the ICustomFormatter

Validator

Provides a generic way to validate different types of arguments passed to members.

Wrapper

Provides helper method for a Wrapper<T> object.

Wrapper<T>

Provides a way to wrap an object of type T.

Structs

DateSpan

Represents a DateTime interval between two DateTime values.

StringReplacePair

Defines a oldValue/newValue pair that can be set or retrieved for string replace operations.

Interfaces

IData

Provides a way to supply information about the class implementing this interface.

IDecorator<T>

Defines a decorator that exposes the inner decorated type.

IHierarchy<T>

Provides a generic way to expose a node of a hierarchical structure, including the node object of type T.

IPrefixMultiple

Defines a unit prefix that can can be expressed as a either a multiple or a submultiple of the unit of measurement.

IPrefixUnit

Defines a unit of measurement that is used as a standard for measurement of the same kind of quantity. Any other quantity of that kind can be expressed as a multiple or fraction of the unit of measurement. Implements the IUnit

IUnit

Defines a unit of measurement that is used as a standard for measurement of the same kind of quantity. Implements the IEquatable<T>

IWrapper<T>

Provides a generic way to wrap an object instance of T inside another object.

Enums

AssignmentOperator

Defines the most common assignment operators for numeric operands.

CasingMethod

Specifies ways that a string must be converted in terms of casing.

DateTimeFormatPattern

Defines the default pattern to use when formatting date- and time values.

Endianness

Defines the order in which a sequence of bytes are represented.

GuidFormats

Specifies allowed GUID formats in parsing related methods.

HorizontalDirection

Specifies a set of values defining a horizontal direction.

NamingStyle

Specifies ways that a string must be represented in terms of naming style.

RelationalOperator

Defines the most common numerical relational operators.

RoundOffAccuracy

The accuracy of a rounding for a computed number.

SortOrder

Specifies the direction of a sort operation.

SystemSnapshots

Specifies the system states to capture runtime.

TimeUnit

Specifies the unit of time - typically used with a TimeSpan.

UnitPrefix

Specifies the two standards for binary multiples and decimal multiples.

UriScheme

Defines the schemes available for a Uri class.

VerticalDirection

Specifies a set of values defining a vertical direction.

Delegates

TesterFunc<T1, T2, T3, T4, T5, T6, T7, T8, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<TResult, TSuccess>

Encapsulates a method and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T, TResult, TSuccess>

Encapsulates a method that has one parameter and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, TResult, TSuccess>

Encapsulates a method that has two parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, TResult, TSuccess>

Encapsulates a method that has three parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, TResult, TSuccess>

Encapsulates a method that has four parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, T6, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

TesterFunc<T1, T2, T3, T4, T5, T6, T7, TResult, TSuccess>

Encapsulates a method that has five parameters and returns a value that indicates success of the type specified by the TSuccess parameter and returns a out result value of the type specified by the TResult parameter.

  • Improve this Doc
In This Article
Back to top Copyright 2008-2022 Geekle. All rights reserved. Code with passion and love; deploy with confidence. 👨‍💻️🔥❤️🚀😎
Generated by DocFX