public override void Initialize() { TestServiceCollectionRegistrar.Register(IocManager); IocManager.RegisterAssemblyByConvention(typeof(AbpZeroTestModule).GetAssembly()); IocManager.IocContainer.Register( Component.For <ILazyComponentLoader>().ImplementedBy <LazyOfTComponentLoader>() ); }
public override void Initialize() { TestServiceCollectionRegistrar.Register(IocManager); IocManager.IocContainer.Register( Component .For <FakeNotificationDistributer>() .LifestyleSingleton() ); IocManager.RegisterAssemblyByConvention(typeof(AbpZeroTestModule).GetAssembly()); }
public override void Initialize() { TestServiceCollectionRegistrar.Register(IocManager); IocManager.RegisterAssemblyByConvention(typeof(AbpZeroTestModule).GetAssembly()); }