Package Description
$ dotnet add package CardboardBox.ExtensionsA collection of helpful extensions for general C# development.
The library is available as a NuGet package.
The library has various static classes with extensions for common methods. The classes are:
DateTimeExtensions - Extensions for DateTime objects.HashExtensions - Extensions for hashing byte arrays and strings.HTMLExtensions - Extensions for working with HTMLAgilityPackLingExtensions - Extensions for Enumerable and collectionsMethodExtensions - Extensions for actions or functionsReflectionExtensions - Extensions for reflection, type checking, and EnumsStreamExtensions - Extensions for working with streamsStringExtensions - Extensions for working with strings, including Base64 encoding and decodingTaskExtensions - Extensions for working with Tasks and threadingXmlExtensions - Extensions for working with XML strings and serializationThe library also has some helpful utility classes as well:
QueueCacheItem - A class for working with lazy-loaded cache items and queuing the results.Boxed - The base class a responseBoxed<T> - The base class for a response with a payload of a genericBoxedArray<T> - The base class for a response with a payload of an array of genericsBoxedError - A response with an error messageBoxedPage<T> - A response with an array of generics and pagination informationRequestValidator - A fluent helper class for validating requestsX - A helper class for creating XML elements and attributes in a compiled-react like manner.CollectionIterator - A helper class for iterating over collections