public override void PrepareBasic() { this.container = new MugenInjector(); this.RegisterDummies(); this.RegisterStandard(); this.RegisterComplex(); }
public override void Prepare() { this.container = new MugenInjector(); this.container.Bind<ISingleton>().To<Singleton>().InSingletonScope(); this.container.Bind<ITransient>().To<Transient>().InTransientScope(); this.container.Bind<ICombined>().To<Combined>().InTransientScope(); }
public void Prepare() { this.container = new MugenInjector(); this.container.Bind <ISingleton>().To <Singleton>().InSingletonScope(); this.container.Bind <ITransient>().To <Transient>().InTransientScope(); this.container.Bind <ICombined>().To <Combined>().InTransientScope(); }
public override void Prepare() { this.container = new MugenInjector(); this.RegisterDummies(); this.RegisterStandard(); this.RegisterComplex(); this.RegisterMultiple(); this.RegisterOpenGeneric(); this.RegisterConditional(); this.RegisterInterceptor(); }
public MugenServiceLocator(MugenInjector kernel) { _kernel = kernel; }
public override void Dispose() { // Allow the container and everything it references to be disposed. this.container = null; }