Namespace Cuemon.Extensions
The Cuemon.Extensions
namespace contains extension methods that complements the Cuemon
namespace while being an addition to the System
namespace.
Availability: .NET 8, .NET 7, .NET 6 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 System.Action delegates.
ByteExtensions
Extension methods for the System.Byte struct.
CharExtensions
Extension methods for the System.Char struct.
ConditionExtensions
Extension methods for the Condition class.
DateTimeExtensions
Extension methods for the System.DateTime struct.
DoubleExtensions
Extension methods for the System.Double struct.
ExceptionExtensions
Extension methods for the System.Exception class.
IntegerExtensions
Extension methods for the System.Int16, System.Int32 and System.Int64 structs.
MappingExtensions
Extension methods for the Mapping class.
MethodDescriptorExtensions
Extension methods for the MethodDescriptor class.
ObjectExtensions
Extension methods for the System.Object class.
StringExtensions
Extension methods for the System.String class.
TimeSpanExtensions
Extension methods for the System.TimeSpan struct.
TypeExtensions
Extension methods for the System.Type class.
ValidatorExtensions
Extension methods for the Validator class.