MikValSor.ImmutableCollection
1.0.2
See the version list below for details.
Install-Package MikValSor.ImmutableCollection -Version 1.0.2
dotnet add package MikValSor.ImmutableCollection --version 1.0.2
<PackageReference Include="MikValSor.ImmutableCollection" Version="1.0.2" />
paket add MikValSor.ImmutableCollection --version 1.0.2
#r "nuget: MikValSor.ImmutableCollection, 1.0.2"
// Install MikValSor.ImmutableCollection as a Cake Addin
#addin nuget:?package=MikValSor.ImmutableCollection&version=1.0.2
// Install MikValSor.ImmutableCollection as a Cake Tool
#tool nuget:?package=MikValSor.ImmutableCollection&version=1.0.2
Simple and small implementation of Immutable Collection build on top of ReadOnlyCollection<T>.
ImmutableCollection Example:
void ImmutableCollectionExample()
{
var source = new char[] { 'A' };
var immutableCollection = new MikValSor.Immutable.ImmutableCollection<char>(source);
//Change the source
source[0] = 'B';
//ImmutableCollection is the same
System.Console.WriteLine($"immutableCollection[0]: {immutableCollection[0]}");
}
/**
Output:
immutableCollection[0]: A
**/
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Windows Phone | wp8 wp81 wpa81 |
Windows Store | netcore netcore45 netcore451 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on MikValSor.ImmutableCollection:
Package | Downloads |
---|---|
MikValSor.Base32
Base32 Encoder, Decoder and ValueType. Implementing multiple standards: - [default] Base32 according to RFC4648. - z-base-32 aka. ZBase32. - Crockford's Base32. - base32hex / Triacontakaidecimal according to RFC 2938. |
|
MikValSor.Base64
.NET Standard Library for Base64 value type in a style equivalent to MikValSor.Base32 |
|
MikValSor.Hashing
.NET library for hashing in immutable value based style. |
GitHub repositories
This package is not used by any popular GitHub repositories.
1.0.2 - Added EnumerableExtender like: IEnumearble<T>.ToImmutable()
1.0.1 - Fixed typo in class name.
1.0.0 - Initial release.