MicroWorkflow.Ioc.Autofac
1.5.0
dotnet add package MicroWorkflow.Ioc.Autofac --version 1.5.0
NuGet\Install-Package MicroWorkflow.Ioc.Autofac -Version 1.5.0
<PackageReference Include="MicroWorkflow.Ioc.Autofac" Version="1.5.0" />
paket add MicroWorkflow.Ioc.Autofac --version 1.5.0
#r "nuget: MicroWorkflow.Ioc.Autofac, 1.5.0"
// Install MicroWorkflow.Ioc.Autofac as a Cake Addin #addin nuget:?package=MicroWorkflow.Ioc.Autofac&version=1.5.0 // Install MicroWorkflow.Ioc.Autofac as a Cake Tool #tool nuget:?package=MicroWorkflow.Ioc.Autofac&version=1.5.0
Autofac integration
This package provides helper methods to easily integrate with and to scan assemblies for step implementations.
Getting started
To use Autofac as the IOC container you need to register it
builder.RegisterType<AutofacAdaptor>().As<IWorkflowIocContainer>();
If you want to scan assemblies for workflow step implementations using the [StepName]
attribute, you can use builder.RegisterStepImplementations(GetType().Assembly)
. Otherwise you can manually register step implementations with
builder.RegisterType(implementationType).Named<IStepImplementation>(stepName);
A complete example of a usage is found in https://github.com/kbilsted/MicroWorkflow.net/blob/master/src/Demos/WebApiDemo/RegisterGreenFeetWF.cs
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- Autofac (>= 8.0.0)
- MicroWorkflow (>= 1.5.0)
-
net8.0
- Autofac (>= 8.0.0)
- MicroWorkflow (>= 1.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.