Beispiel #1
0
        static WindServiceBusApplication()
        {
            WindBootstrapper = WindBootstrapper.Create <TStartupModule>();

            WindBootstrapper.IocManager.IocContainer.AddFacility <LoggingFacility>(
                f => f.UseWindLog4Net().WithConfig("log4net.config")
                );
        }
Beispiel #2
0
        protected TestBase(bool initialize = true)
        {
            this.LocalIocManager  = new IocManager();
            this.WindBootstrapper = WindBootstrapper.Create <TStartupModule>(LocalIocManager);

            this.WindBootstrapper.IocManager.IocContainer.AddFacility <LoggingFacility>(
                f => f.UseWindLog4Net().WithConfig("log4net.config")
                );

            if (initialize)
            {
                Initialize();
            }
        }