Serentty.Immutable 1.0.0

This package provides a wrapper type called Val which can be used for immutable bindings, such as for local variables, in C# and Visual Basic.

Install-Package Serentty.Immutable -Version 1.0.0
dotnet add package Serentty.Immutable --version 1.0.0
<PackageReference Include="Serentty.Immutable" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Serentty.Immutable --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Serentty.Immutable, 1.0.0"
#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 Serentty.Immutable as a Cake Addin
#addin nuget:?package=Serentty.Immutable&version=1.0.0

// Install Serentty.Immutable as a Cake Tool
#tool nuget:?package=Serentty.Immutable&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Serentty.Immutable

You can use the provided generic Val type to create immutable bindings, such as immutable local variables, in C# and Visual Basic. This isn't as useful in F#, which already has immutable local bindings.

var num = Val<int>(5);

These immutable variables are automatically converted to their normal types upon use, but not the other way around.

Serentty.Immutable

You can use the provided generic Val type to create immutable bindings, such as immutable local variables, in C# and Visual Basic. This isn't as useful in F#, which already has immutable local bindings.

var num = Val<int>(5);

These immutable variables are automatically converted to their normal types upon use, but not the other way around.

  • .NETStandard 1.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 271 5/29/2020