A 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 serialization
The library also has some helpful utility classes as well:
QueueCacheItem- A class for working with lazy-loaded cache items and queuing the results.- Response Boxing - A set of classes for wrapping responses in a common format
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 information
RequestValidator- 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