CardboardBox.Extensions 2.0.0

dotnet add package CardboardBox.Extensions --version 2.0.0                
NuGet\Install-Package CardboardBox.Extensions -Version 2.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CardboardBox.Extensions" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CardboardBox.Extensions --version 2.0.0                
#r "nuget: CardboardBox.Extensions, 2.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CardboardBox.Extensions as a Cake Addin
#addin nuget:?package=CardboardBox.Extensions&version=2.0.0

// Install CardboardBox.Extensions as a Cake Tool
#tool nuget:?package=CardboardBox.Extensions&version=2.0.0                

Cardboard Box Extensions

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 HTMLAgilityPack
  • LingExtensions - Extensions for Enumerable and collections
  • MethodExtensions - Extensions for actions or functions
  • ReflectionExtensions - Extensions for reflection, type checking, and Enums
  • StreamExtensions - Extensions for working with streams
  • StringExtensions - Extensions for working with strings, including Base64 encoding and decoding
  • TaskExtensions - Extensions for working with Tasks and threading
  • XmlExtensions - 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 response
    • Boxed<T> - The base class for a response with a payload of a generic
    • BoxedArray<T> - The base class for a response with a payload of an array of generics
    • BoxedError - A response with an error message
    • BoxedPage<T> - A response with an array of generics and pagination information
  • RequestValidator - A fluent helper class for validating requests
  • X - A helper class for creating XML elements and attributes in a compiled-react like manner.
  • CollectionIterator - A helper class for iterating over collections
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on CardboardBox.Extensions:

Package Downloads
CardboardBox.Discord

Adds Slash Command Support to Discord.Net

CardboardBox.Setup

Helpful extensions for dependency injection and console applications

CardboardBox.Http.Files

Provides a lightweight concise way of handling files over API requests within C#

CardboardBox

Package Description

CardboardBox.Epub

Allows for building Epub ebooks in csharp

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 130 11/11/2024
1.0.10 1,296 12/7/2022
1.0.9 1,988 10/20/2022
1.0.8 489 10/15/2022
1.0.7 404 10/14/2022
1.0.6 877 11/11/2019
1.0.0 636 10/14/2022