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.