Skip to content

JohnGoldInc/ErrorUnit.Injector_Autofac

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

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