Skip to content

Compatibility library for ErrorUnit to work with Autofac Dependency Injector.

License

Notifications You must be signed in to change notification settings

JohnGoldInc/ErrorUnit.Injector_Autofac

Repository files navigation

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

About

Compatibility library for ErrorUnit to work with Autofac Dependency Injector.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages