Universal.Common 8.2.4

.NET 6.0 .NET Standard 2.0
dotnet add package Universal.Common --version 8.2.4
NuGet\Install-Package Universal.Common -Version 8.2.4
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="Universal.Common" Version="8.2.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Universal.Common --version 8.2.4
#r "nuget: Universal.Common, 8.2.4"
#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 Universal.Common as a Cake Addin
#addin nuget:?package=Universal.Common&version=8.2.4

// Install Universal.Common as a Cake Tool
#tool nuget:?package=Universal.Common&version=8.2.4

Universal.Common

Support utilities and extensions meant to extend the default functionality from the base class library.

Quickstart

BitSequence

Utility for as-is bit manipulations.

BitSequence bs1 = new BitSequence("10001010"); // Binary representation in string.
BitSequence bs2 = new BitSequence(new bool[] { true, false, true }); // As booleans.
BitSequence bs3 = bs1 & "11110000"; // Bitwise and, implicit conversion from binary representation string.

BitStream

Utility to perform bit-level operations on System.IO.Stream.

using (BitStream bitStream = new BitStream(stream)) 
{
    uint value = bitStream.ReadUInt32(4); // Reads 4 bits from the stream and interprets it as an unsigned integer, padding if necessary.
}

UriBuilder

Derived from System.UriBuilder, this class provides a fluent API to configure segments and queries.

UriBuilder uriBuilder = new UriBuilder("http://www.myhost.com");
uriBuilder
    .AddSegments("api", "Product", 1)
    .AddQuery("key", "value");
// "https://www.myhost.com/api/Product/1?key=value"

ZigZag

Static class that encodes arrays to matrices and vice-versa.

int[,] matrix = new int[,] { { 0, 1 }, { 2, 3 } };
int[] array = ZigZag.ToArray(matrix); // [0, 1, 2, 3]
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 was computed.  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-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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  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)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (33)

Showing the top 5 NuGet packages that depend on Universal.Common:

Package Downloads
Universal.Common.Reflection

Class library for performing advanced operations with types, dynamic objects, expressions, and reflection.

Universal.Android

Class library for accelerating Xamarin.Android development. Note: If you encounter layout inflation exceptions (could be masked as NotFoundException, or some issue with text_color_secondary.xml etc), make sure you define colorControlNormal and use a style with that attribute defined.

Universal.Common.Serialization

Class library with base objects that provide serializable to and from XML and JSON strings and binary serialization using the native binary formatter.

Universal.Common.Net.Http

Class library to build clients and work with HTTP web services.

Universal.Common.Mathematics

Class library implementing advanced mathematical algorithms, transforms, and time series manipulations. Implementations favour simplicity and correctness.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.2.4 281 9/25/2023
8.2.3 265 6/8/2023
8.2.2 2,371 11/23/2022
8.2.1 329 11/22/2022
8.2.0 5,770 9/14/2022
8.1.2 12,488 10/24/2021
8.1.1 414 10/23/2021
8.1.0 424 10/23/2021
8.0.0 8,158 10/13/2021
7.7.1 4,616 8/24/2021
7.7.0 345 8/24/2021
7.6.2 384 8/19/2021
7.6.1 10,843 6/17/2021
7.6.0 1,310 6/3/2021
7.5.7 2,029 4/30/2021
7.5.6 389 4/29/2021
7.5.5 635 4/13/2021
7.5.4 2,927 3/31/2021
7.5.3 4,675 3/21/2021
7.5.2 1,180 3/15/2021
7.5.1 815 2/16/2021
7.5.0 15,987 2/5/2021
7.4.6 429 2/2/2021
7.4.5.1 1,501 1/15/2021
7.4.5 749 1/13/2021
7.4.4 1,404 1/7/2021
7.4.3 1,746 12/16/2020
7.4.2.1 500 12/15/2020
7.4.2 489 12/9/2020
7.4.1 3,505 11/26/2020
7.4.0 458 11/26/2020
7.3.5 2,425 11/23/2020
7.3.4 1,607 11/11/2020
7.3.3 510 11/11/2020
7.3.2 943 11/1/2020
7.3.1.1 3,671 10/19/2020
7.3.1 481 10/15/2020
7.3.0 476 10/15/2020
7.2.2 2,548 9/29/2020
7.2.1 615 9/29/2020
7.2.0 497 9/29/2020
7.1.1.1 548 9/28/2020
7.1.1 582 9/25/2020
7.1.0 1,579 9/2/2020
7.0.0 5,028 8/24/2020
6.4.7 548 8/21/2020
6.4.6 550 8/21/2020
6.4.5 18,087 5/21/2020
6.4.4 1,502 5/12/2020
6.4.3 1,647 4/23/2020
6.4.2 520 4/20/2020
6.4.1.2 14,888 3/20/2020
6.4.1.1 564 3/20/2020
6.4.1 557 3/20/2020
6.4.0 4,284 2/25/2020
6.3.5 866 2/21/2020
6.3.4 617 2/21/2020
6.3.3 2,721 2/11/2020
6.3.2 621 2/11/2020
6.3.1.1 6,088 1/23/2020
6.3.0 3,815 12/18/2019
6.2.7 1,670 12/17/2019
6.2.6 1,121 12/4/2019
6.2.5 732 12/4/2019
6.2.4 3,176 12/1/2019
6.2.3 9,141 10/25/2019
6.2.2 3,192 10/8/2019
6.2.1 963 10/7/2019
6.2.0.1 3,569 9/25/2019
6.2.0 1,662 9/20/2019
6.1.5 2,440 9/16/2019
6.1.4.1 1,579 9/9/2019
6.1.4 1,689 9/3/2019
6.1.3 583 9/2/2019
6.1.2 750 8/28/2019
6.1.1 6,737 7/9/2019
6.1.0.1 21,538 7/5/2019
6.1.0 13,551 5/7/2019
6.0.6 1,435 5/3/2019
6.0.5 963 5/2/2019
6.0.4 3,352 4/24/2019
6.0.3 910 4/24/2019
6.0.2 6,442 3/22/2019
6.0.1.2 1,691 3/12/2019
6.0.1.1 802 3/12/2019
6.0.1 800 3/11/2019
6.0.0 1,473 3/6/2019
5.3.6 717 3/5/2019
5.3.5 699 3/5/2019
5.3.4 1,738 3/4/2019
5.3.3 1,328 2/28/2019
5.3.2 1,198 2/27/2019
5.3.1.1 834 2/25/2019
5.3.1 710 2/25/2019
5.3.0 685 2/25/2019
5.2.1 2,267 2/16/2019
5.2.0.1 2,904 2/7/2019
5.1.8 759 2/7/2019
5.1.7.1 953 1/30/2019
5.1.7 750 1/30/2019
5.1.6.1 766 1/24/2019
5.1.6 750 1/23/2019
5.1.5 738 1/23/2019
5.1.4.2 802 1/18/2019
5.1.3 1,402 1/14/2019
5.1.2 6,368 1/8/2019
5.1.1.1 786 1/8/2019
5.1.1 765 1/6/2019
5.1.0 1,276 1/2/2019
5.0.2 784 12/31/2018
5.0.1.1 774 12/31/2018
5.0.1 758 12/31/2018
5.0.0.1 899 12/14/2018
5.0.0 1,920 12/10/2018
4.2.5 818 11/23/2018
4.2.4 830 11/23/2018
4.2.3.1 817 11/22/2018
4.2.3 784 11/22/2018
4.2.2.2 1,022 11/19/2018
4.2.2.1 5,090 10/2/2018
4.2.2 867 10/1/2018
4.2.1.2 885 10/1/2018
4.2.1.1 875 9/27/2018
4.2.1 802 9/26/2018
4.2.0.5 857 9/26/2018
4.2.0.4 841 9/25/2018
4.2.0.3 860 9/25/2018
4.2.0.2 887 9/25/2018
4.2.0.1 847 9/25/2018
4.2.0 951 9/24/2018
4.1.0 810 9/21/2018
4.0.0.6 854 9/18/2018
4.0.0.5 890 9/18/2018
4.0.0.4 871 9/17/2018
4.0.0.3 2,493 9/7/2018
4.0.0.2 1,123 9/4/2018
4.0.0.1 1,197 9/4/2018
4.0.0 2,982 8/30/2018
3.2.0 1,989 8/28/2018
3.1.0 857 8/28/2018
3.0.6 1,687 8/27/2018
3.0.5 850 8/27/2018
3.0.4 871 8/27/2018
3.0.3 883 8/24/2018
3.0.2 1,063 8/24/2018
3.0.1.2 863 8/23/2018
3.0.1.1 902 8/21/2018
3.0.1 874 8/21/2018
3.0.0 1,750 8/16/2018
2.2.1 943 8/15/2018
2.2.0 899 8/14/2018
2.1.0 902 8/13/2018
2.0.2 942 8/7/2018
2.0.1 1,206 5/10/2018
2.0.0 1,712 4/26/2018
1.5.3.7 2,722 1/27/2018
1.5.3.6 1,078 1/15/2018
1.5.3.5 1,042 1/8/2018
1.5.3.4 1,042 1/3/2018
1.5.3.3 1,072 1/3/2018
1.5.3.2 1,051 12/27/2017
1.5.3.1 1,080 12/25/2017
1.5.3 1,032 12/25/2017
1.5.2 1,038 12/24/2017
1.5.1 1,053 12/23/2017
1.5.0 1,009 12/22/2017
1.4.7 919 12/2/2017
1.4.6 2,426 11/28/2017
1.4.5 1,116 11/28/2017
1.4.0 1,160 11/12/2017
1.3.5 3,697 11/8/2017
1.3.4 1,191 11/8/2017
1.3.3 1,235 11/2/2017
1.3.2 1,169 11/2/2017
1.3.1 1,201 9/12/2017
1.3.0 1,102 8/26/2017
1.2.1 987 8/23/2017
1.2.0 1,059 8/17/2017
1.1.1 985 8/17/2017
1.1.0 1,007 8/17/2017
1.0.0 1,448 8/12/2017

Introduced the text/markdown MediaType.