static WindServiceBusApplication() { WindBootstrapper = WindBootstrapper.Create <TStartupModule>(); WindBootstrapper.IocManager.IocContainer.AddFacility <LoggingFacility>( f => f.UseWindLog4Net().WithConfig("log4net.config") ); }
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(); } }