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                
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="MicroWorkflow.Ioc.Autofac" Version="1.5.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MicroWorkflow.Ioc.Autofac --version 1.5.0                
#r "nuget: MicroWorkflow.Ioc.Autofac, 1.5.0"                
#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 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.0 145 2/27/2024
1.3.4 129 2/12/2024