Table of Contents

Namespace Cuemon.Extensions

Assembly: Cuemon.Extensions.Core.dll

The Cuemon.Extensions namespace contains extension methods that complements the Cuemon namespace while being an addition to the System namespace.

Availability: .NET 9, .NET 8 and .NET Standard 2.0

Complements: Cuemon namespace 📘

Extension Methods

Type Ext Methods
Action ⬇️ Configure{TOptions}, CreateInstance{T}
Byte ⬇️ ToEncodedString, ToHexadecimalString, ToBinaryString, ToUrlEncodedBase64String, ToBase64String, TryDetectUnicodeEncoding
Char ⬇️ ToEnumerable, FromChars
Condition ⬇️ HasDifference
DateTime ⬇️ ToUnixEpochTime, ToUtcKind, ToLocalKind, ToDefaultKind, IsWithinRange, IsTimeOfDayNight, IsTimeOfDayMorning, IsTimeOfDayForenoon, IsTimeOfDayAfternoon, IsTimeOfDayEvening, Floor, Ceiling, Round
Double ⬇️ FromUnixEpochTime, ToTimeSpan, Factorial, RoundOff
Exception ⬇️ Flatten
Int* ⬇️ Min, Max, IsPrime, IsCountableSequence, IsEven, IsOdd
Mapping ⬇️ AddMapping
MethodDescriptor ⬇️ HasParameters
Object ⬇️ UseWrapper{T}, As{T}, As, GetHashCode32{T}, GetHashCode64{T}, ToDelimitedString{T}, Adjust{T}, Alter{T}, IsNullable{T}
String ⬇️ ReplaceLineEndings, Difference, ToByteArray, FromUrlEncodedBase64, ToGuid, FromBinaryDigits, FromBase64, ToCasing, ToUri, IsNullOrEmpty, IsNullOrWhiteSpace, IsEmailAddress, IsGuid, IsHex, IsNumeric, IsBase64, SplitDelimited, Count, RemoveAll, ReplaceAll, JsEscape, JsUnescape, ContainsAny, ContainsAll, EqualsAny, StartsWith, TrimAll, IsSequenceOf{T}, FromHexadecimal, ToHexadecimal, ToEnum{TEnum}, ToTimeSpan, SubstringBefore, Chunk, SuffixWith, SuffixWithForwardingSlash, PrefixWith
TimeSpan ⬇️ GetTotalNanoseconds, GetTotalMicroseconds, Floor, Ceiling, Round
Type ⬇️ ToFriendlyName, ToTypeCode, HasEqualityComparerImplementation, HasComparableImplementation, HasComparerImplementation, HasEnumerableImplementation, HasDictionaryImplementation, HasKeyValuePairImplementation, IsNullable, HasAnonymousCharacteristics, IsComplex, IsSimple, GetDefaultValue, HasTypes, HasInterfaces, HasAttributes
Validator ⬇️ ContainsReservedKeyword, HasDifference, NoDifference

Classes

ActionExtensions

Extension methods for the Action delegates.

ActionFactory

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

AsyncDisposable

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

ByteExtensions

Extension methods for the Byte struct.

CharExtensions

Extension methods for the Char struct.

DateTimeExtensions

Extension methods for the DateTime struct.

DoubleExtensions

Extension methods for the Double struct.

ExceptionExtensions

Extension methods for the Exception class.

FuncFactory

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

IntegerExtensions

Extension methods for the Int16, Int32 and Int64 structs.

MethodDescriptorExtensions

Extension methods for the MethodDescriptor class.

MutableTupleFactory

Provides access to factory methods for creating MutableTuple objects.

ObjectExtensions

Extension methods for the Object class.

StringExtensions

Extension methods for the String class.

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.

TimeSpanExtensions

Extension methods for the TimeSpan struct.

TypeExtensions

Extension methods for the Type class.

Wrapper

Provides helper method for a Wrapper<T> object.

Wrapper<T>

Provides a way to wrap an object of type T.

Interfaces

IWrapper<T>

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

Enums

RoundOffAccuracy

The accuracy of a rounding for a computed number.

VerticalDirection

Specifies a set of values defining a vertical direction.