ahbsd.lib
1.4.0
See the version list below for details.
dotnet add package ahbsd.lib --version 1.4.0
NuGet\Install-Package ahbsd.lib -Version 1.4.0
<PackageReference Include="ahbsd.lib" Version="1.4.0" />
paket add ahbsd.lib --version 1.4.0
#r "nuget: ahbsd.lib, 1.4.0"
// Install ahbsd.lib as a Cake Addin #addin nuget:?package=ahbsd.lib&version=1.4.0 // Install ahbsd.lib as a Cake Tool #tool nuget:?package=ahbsd.lib&version=1.4.0
NamedCollections
Named collections have the main reason to be used in dictionaries which have as value a collection. The other way would be to have a dictionary with a dictionary as value which would have as key a string with the name of the collection…
Example
Doing this with Dictionaries it would look like:
Dictionary<int, IDictionary<string, ICollection<double>>> dExample = new Dictionary<int, IDictionary<string, ICollection<double>>>();
IDictionary<string, ICollection<double>> tmp = new Dictionary<string, ICollection<double>>();
ICollection<double> doubleCollection1 = new Collection<double>();
tmp.Add("Double Collection 1", doubleCollection);
dExample.Add(1, tmp);
dExample[1]["Double Collection 1"].Add(1.0);
dExample[1]["Double Collection 1"].Add(1.1);
dExample[1]["Double Collection 1"].Add(1.2);
With using IDictionaryOfNamedCollections it is much easier:
IDictionaryOfNamedCollections<int, double> dExample2 = new DictionaryOfNamedCollections<int, double>();
dExample2.Add(2, 1.0, "Double Collection 2");
dExample2.Add(2, 1.1);
dExample2.Add(2, 1.2);
Not only shorter development, but as well simpler in debugging etc.
Product | Versions 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 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-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.1 is compatible. |
-
.NETCoreApp 3.1
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on ahbsd.lib:
Package | Downloads |
---|---|
ahbsd.lib.numbersystems
A library for changing number bases UINT only. I first had the idea of making a library like this, when I helped a person of business school to understand number systems. In my eyes the best way to describe how binary and hexadecimal work, is to help understand the basics on numeric bases. So after this person was able to describe the transformation in general, I started documentation and coding it. See on GitHub (most in german). |
|
ahbsd.lib.macadress.api_core3.1
Simple static class to get the vndor of a MAC adress. See https://macvendors.com/api |
|
ahbsd.lib.Exceptions_Core-5.0
The newer version for .NET CORE 5.0 |
|
ahbsd.network.check_core3.1
A Simple check, if a network address is reachable |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version 1.4 has a new namespace: NamedCollections, which is mainley for
collections to be named.