From 70f3f01b225cb1985358c40590d7ca91444c5157 Mon Sep 17 00:00:00 2001 From: Renaud Paquay Date: Sat, 5 Jun 2010 23:04:56 -0700 Subject: [PATCH] Fix braces formatting --HG-- branch : dev --- .../Hosting/Orchard.Web/Global.asax.cs | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/src/Orchard.Specs/Hosting/Orchard.Web/Global.asax.cs b/src/Orchard.Specs/Hosting/Orchard.Web/Global.asax.cs index 95fd0384e..af9650514 100644 --- a/src/Orchard.Specs/Hosting/Orchard.Web/Global.asax.cs +++ b/src/Orchard.Specs/Hosting/Orchard.Web/Global.asax.cs @@ -8,16 +8,12 @@ using Autofac.Integration.Web; using Orchard.Environment; using Orchard.Environment.Configuration; -namespace Orchard.Specs.Hosting.Orchard.Web -{ - public class MvcApplication : HttpApplication - { +namespace Orchard.Specs.Hosting.Orchard.Web { + public class MvcApplication : HttpApplication { private static IContainer _hostContainer; private static IOrchardHost _host; - - protected void Application_Start() - { + protected void Application_Start() { _hostContainer = OrchardStarter.CreateHostContainer(MvcSingletons); _host = _hostContainer.Resolve(); Host.Initialize(); @@ -27,18 +23,15 @@ namespace Orchard.Specs.Hosting.Orchard.Web } - protected void Application_BeginRequest() - { + protected void Application_BeginRequest() { Host.BeginRequest(); } - protected void Application_EndRequest() - { + protected void Application_EndRequest() { Host.EndRequest(); } - protected void MvcSingletons(ContainerBuilder builder) - { + protected void MvcSingletons(ContainerBuilder builder) { builder.RegisterInstance(ControllerBuilder.Current); builder.RegisterInstance(RouteTable.Routes); builder.RegisterInstance(ModelBinders.Binders);