Пример #1
0
 public BootManager(HttpApplication app)
 {
     _timer = DisposableTimer.Start(timer => LogHelper.TraceIfEnabled<BootManager>("Application start took {0}ms", () => timer));
     _app = app;
     LogHelper.TraceIfEnabled<BootManager>("Created");
     _umbracoWireup = new UmbracoContainerBuilder<HttpApplication>(_app);
 }
Пример #2
0
 public BootManager(HttpApplication app)
 {
     _timer = DisposableTimer.Start(timer => LogHelper.TraceIfEnabled <BootManager>("Application start took {0}ms", () => timer));
     _app   = app;
     LogHelper.TraceIfEnabled <BootManager>("Created");
     _umbracoWireup = new UmbracoContainerBuilder <HttpApplication>(_app);
 }