clarius - netfx-System.AmbientSingleton 1.2.1.0

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).

PM> Install-Package netfx-System.AmbientSingleton -Version 1.2.1 -Source https://www.myget.org/F/clarius/api/v3/index.json

Copy to clipboard

> nuget.exe install netfx-System.AmbientSingleton -Version 1.2.1 -Source https://www.myget.org/F/clarius/api/v3/index.json

Copy to clipboard

> dotnet add package netfx-System.AmbientSingleton --version 1.2.1 --source https://www.myget.org/F/clarius/api/v3/index.json

Copy to clipboard
<PackageReference Include="netfx-System.AmbientSingleton" Version="1.2.1" />
Copy to clipboard
source https://www.myget.org/F/clarius/api/v3/index.json

nuget netfx-System.AmbientSingleton  ~> 1.2.1
Copy to clipboard

> choco install netfx-System.AmbientSingleton --version 1.2.1 --source https://www.myget.org/F/clarius/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "clarius" -SourceLocation "https://www.myget.org/F/clarius/api/v2"
Install-Module -Name "netfx-System.AmbientSingleton" -RequiredVersion "1.2.1" -Repository "clarius" 
Copy to clipboard

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.

  • Any 0.0
    • netfx-Guard (>= 1.3.0)

Owners

kzu

Authors

Daniel Cazzulino, kzu, Clarius

Project URL

http://netfx.codeplex.com/

License

BSD

Tags

netfx ambient singleton

Info

1 total downloads
1 downloads for version 1.2.1.0
Download (8 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.2.1.0 8 KB Mon, 11 Jan 2016 18:09:11 GMT 1