netfx-System.AmbientSingleton 1.2.1

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

// Install netfx-System.AmbientSingleton as a Cake Tool
#tool nuget:?package=netfx-System.AmbientSingleton&version=1.2.1

Provides an easy way to implement the singleton (anti?) pattern so that it is ambient-safe, propagates with a call context and can be overriden per ambient (i.e. in tests).

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.1 266 1/21/2013
1.2.0 65 1/14/2013
1.1.0 55 12/3/2012
1.0.0 65 1/10/2012

v1.2.1
           * Changed to use CallContext.SetData/GetData instead of forcing LogicalSetData/GetData.
           this allows the default behavior of only remoting across AppDomain/process boundaries
           the actual values that implement ILogicalThreadAffinative.