RadCommons.utils.Context
2.0.1
dotnet add package RadCommons.utils.Context --version 2.0.1
NuGet\Install-Package RadCommons.utils.Context -Version 2.0.1
<PackageReference Include="RadCommons.utils.Context" Version="2.0.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add RadCommons.utils.Context --version 2.0.1
#r "nuget: RadCommons.utils.Context, 2.0.1"
// Install RadCommons.utils.Context as a Cake Addin #addin nuget:?package=RadCommons.utils.Context&version=2.0.1 // Install RadCommons.utils.Context as a Cake Tool #tool nuget:?package=RadCommons.utils.Context&version=2.0.1
The runtime "container" for context operations. The context can be both state-less and state-full and it's valid until it's disposed.
The current context is accessible via static property Current.
The contexts are chained, when a new context is created using static method BeginContext(),
the Current context became the Parent of the new one and
the newly created context will be set as the Current one.
When the context is disposed, the Current context is set to Parent of disposing context.
The base implementation just manages the life time, context chain and keeps the state (when provided).
Inherit from the Context<TState> to add the context related operations (inherited classes have the access to state).
Based on the implementation of Guard Scopes by https://github.com/safakgur.
(Source only package).
Learn more about Target Frameworks and .NET Standard.
-
- RadCommons.utils.Disposer (>= 2.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.