public override void Initialize()
 {
     TestServiceCollectionRegistrar.Register(IocManager);
     IocManager.RegisterAssemblyByConvention(typeof(AbpZeroTestModule).GetAssembly());
     IocManager.IocContainer.Register(
         Component.For <ILazyComponentLoader>().ImplementedBy <LazyOfTComponentLoader>()
         );
 }
Beispiel #2
0
        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());
 }