Compatibility library for ErrorUnit to work with Autofac Dependency Injector.
C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Properties
.gitattributes
.gitignore
ErrorUnit.Injector_Autofac.csproj
ErrorUnit.Injector_Autofac.nuspec
ErrorUnit.Injector_Autofac.sln
ErrorUnitExtension.cs
ErrorUnitInjector.cs
LICENSE.md
README.md
app.config
packages.config

README.md

ErrorUnit.Injector_Autofac

Compatibility library for ErrorUnit to work with Autofac Dependency Injector.

At the start up of your application; You will need to set up the Injector with ErrorUnit; Then add .EnableErrorUnitInterceptor() after each type you register. i.e.

ErrorUnitCentral._Injector = new ErrorUnitInjector();
var builder = ErrorUnitCentral._LinkInjector(new ContainerBuilder());
builder.RegisterType<SomeType>()
       .As<ISomeInterface>()
       .EnableErrorUnitInterceptor();
var container = builder.Build();

http://johngoldinc.com/Help/html/T_ErrorUnit_Interfaces_IInjector.htm

http://johngoldinc.com