From d57c34392f2a0f0d44d8073a809ad7ab54803efb Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Fri, 12 Sep 2014 13:02:24 -0700 Subject: [PATCH] stylecop fix --- src/Microsoft.AspNet.Mvc.Core/Internal/MvcServicesHelper.cs | 4 +++- src/Microsoft.AspNet.Mvc/BuilderExtensions.cs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.AspNet.Mvc.Core/Internal/MvcServicesHelper.cs b/src/Microsoft.AspNet.Mvc.Core/Internal/MvcServicesHelper.cs index bee779b39..aee784199 100644 --- a/src/Microsoft.AspNet.Mvc.Core/Internal/MvcServicesHelper.cs +++ b/src/Microsoft.AspNet.Mvc.Core/Internal/MvcServicesHelper.cs @@ -23,7 +23,9 @@ namespace Microsoft.AspNet.Mvc.Internal if (services.GetServiceOrNull(typeof(MvcMarkerService)) == null) { throw new InvalidOperationException(Resources.FormatUnableToFindServices( - "IServiceCollection.AddMvc()", "IApplicationBuilder.UseServices(...)", "IApplicationBuilder.UseMvc(...)")); + "IServiceCollection.AddMvc()", + "IApplicationBuilder.UseServices(...)", + "IApplicationBuilder.UseMvc(...)")); } } } diff --git a/src/Microsoft.AspNet.Mvc/BuilderExtensions.cs b/src/Microsoft.AspNet.Mvc/BuilderExtensions.cs index 61ff7228a..ae3de4c53 100644 --- a/src/Microsoft.AspNet.Mvc/BuilderExtensions.cs +++ b/src/Microsoft.AspNet.Mvc/BuilderExtensions.cs @@ -23,7 +23,9 @@ namespace Microsoft.AspNet.Builder }); } - public static IApplicationBuilder UseMvc([NotNull] this IApplicationBuilder app, [NotNull] Action configureRoutes) + public static IApplicationBuilder UseMvc( + [NotNull] this IApplicationBuilder app, + [NotNull] Action configureRoutes) { // Verify if AddMvc was done before calling UseMvc // We use the MvcMarkerService to make sure if all the services were added.