M.Executables.Executors.NetCore
3.0.0
An implementation of IExecutor and IExecutorAsync utilizing .NET Core dependecy injection.
Install-Package M.Executables.Executors.NetCore -Version 3.0.0
dotnet add package M.Executables.Executors.NetCore --version 3.0.0
<PackageReference Include="M.Executables.Executors.NetCore" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add M.Executables.Executors.NetCore --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: M.Executables.Executors.NetCore, 3.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 M.Executables.Executors.NetCore as a Cake Addin
#addin nuget:?package=M.Executables.Executors.NetCore&version=3.0.0
// Install M.Executables.Executors.NetCore as a Cake Tool
#tool nuget:?package=M.Executables.Executors.NetCore&version=3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Sync and async implementations are now separated to be independent of each other.
Interceptors handling is changed to align to this separation and support more scenarios.
- (breaking)
NetCoreExecutor
does not implementIExecutors
any more.
Implementations are now separated:
NetCoreExecutor
implementsIExecutor
newNetCoreExecutorAsync
implementsIExecutorAsync
There is a new classNetCoreExecutors
implementingIExecutors
depending on the new implementations. - (breaking)
IExecutionInterceptor
is not called by bothIExecutor
andIExecutorAsync
any more.
IExecutorAsync
will useIExecutionInterceptorAsync
andIExecutionInterceptorAsync<TExecutable, TInput, TResult>
IExecutor
will useIExecutionInterceptor
andIExecutionInterceptor<TExecutable, TInput, TResult>
- (breaking) Async implementations are using
.ConfigureAwait(false)
for allawait
statements - Enhanced Interceptors execution
Sync and async implementations are now separated to be independent of each other.
Interceptors handling is changed to align to this separation and support more scenarios.
- (breaking)
NetCoreExecutor
does not implementIExecutors
any more.
Implementations are now separated:
NetCoreExecutor
implementsIExecutor
newNetCoreExecutorAsync
implementsIExecutorAsync
There is a new classNetCoreExecutors
implementingIExecutors
depending on the new implementations. - (breaking)
IExecutionInterceptor
is not called by bothIExecutor
andIExecutorAsync
any more.
IExecutorAsync
will useIExecutionInterceptorAsync
andIExecutionInterceptorAsync<TExecutable, TInput, TResult>
IExecutor
will useIExecutionInterceptor
andIExecutionInterceptor<TExecutable, TInput, TResult>
- (breaking) Async implementations are using
.ConfigureAwait(false)
for allawait
statements - Enhanced Interceptors execution
Release Notes
Breaking changes - separate sync and async implementations, interceptors handling.
Dependencies
-
.NETStandard 2.0
- M.Executables (>= 2.2.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.2.0)
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.