MikValSor.ImmutableCollection 1.0.2

.NET Standard 1.0 .NET Framework 4.5
There is a newer version of this package available.
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" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MikValSor.ImmutableCollection --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MikValSor.ImmutableCollection, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.0.5 4,040 5/8/2018
1.0.4 1,660 5/4/2018
1.0.3 612 5/4/2018
1.0.2 618 5/3/2018
1.0.1 800 5/2/2018
1.0.0 700 5/2/2018

1.0.2 - Added EnumerableExtender like: IEnumearble<T>.ToImmutable()
1.0.1 - Fixed typo in class name.
1.0.0 - Initial release.