From 749789c48684f4bb9a39c874c80138ae42ce1495 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Tue, 8 Apr 2014 12:13:18 -0700 Subject: [PATCH] CR feedback --- src/Microsoft.AspNet.Mvc.Core/FormContext.cs | 2 +- .../{ => Rendering}/ICanHasViewContext.cs | 0 src/Microsoft.AspNet.Mvc.Core/{ => Rendering}/IView.cs | 2 +- src/Microsoft.AspNet.Mvc.Core/{ => Rendering}/IViewEngine.cs | 2 +- .../{ => Rendering}/ViewEngineResult.cs | 2 +- src/Microsoft.AspNet.Mvc.Core/TemplateInfo.cs | 2 +- .../ViewComponents/DefaultViewComponentResultHelper.cs | 1 - 7 files changed, 5 insertions(+), 6 deletions(-) rename src/Microsoft.AspNet.Mvc.Core/{ => Rendering}/ICanHasViewContext.cs (100%) rename src/Microsoft.AspNet.Mvc.Core/{ => Rendering}/IView.cs (76%) rename src/Microsoft.AspNet.Mvc.Core/{ => Rendering}/IViewEngine.cs (88%) rename src/Microsoft.AspNet.Mvc.Core/{ => Rendering}/ViewEngineResult.cs (96%) diff --git a/src/Microsoft.AspNet.Mvc.Core/FormContext.cs b/src/Microsoft.AspNet.Mvc.Core/FormContext.cs index 52318ed08f..02b6b409a4 100644 --- a/src/Microsoft.AspNet.Mvc.Core/FormContext.cs +++ b/src/Microsoft.AspNet.Mvc.Core/FormContext.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using Microsoft.AspNet.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNet.Mvc { public class FormContext { diff --git a/src/Microsoft.AspNet.Mvc.Core/ICanHasViewContext.cs b/src/Microsoft.AspNet.Mvc.Core/Rendering/ICanHasViewContext.cs similarity index 100% rename from src/Microsoft.AspNet.Mvc.Core/ICanHasViewContext.cs rename to src/Microsoft.AspNet.Mvc.Core/Rendering/ICanHasViewContext.cs diff --git a/src/Microsoft.AspNet.Mvc.Core/IView.cs b/src/Microsoft.AspNet.Mvc.Core/Rendering/IView.cs similarity index 76% rename from src/Microsoft.AspNet.Mvc.Core/IView.cs rename to src/Microsoft.AspNet.Mvc.Core/Rendering/IView.cs index 3eda732779..7c45b8a3b4 100644 --- a/src/Microsoft.AspNet.Mvc.Core/IView.cs +++ b/src/Microsoft.AspNet.Mvc.Core/Rendering/IView.cs @@ -1,6 +1,6 @@ using System.Threading.Tasks; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNet.Mvc.Rendering { public interface IView { diff --git a/src/Microsoft.AspNet.Mvc.Core/IViewEngine.cs b/src/Microsoft.AspNet.Mvc.Core/Rendering/IViewEngine.cs similarity index 88% rename from src/Microsoft.AspNet.Mvc.Core/IViewEngine.cs rename to src/Microsoft.AspNet.Mvc.Core/Rendering/IViewEngine.cs index af39663b8a..80c757ef7a 100644 --- a/src/Microsoft.AspNet.Mvc.Core/IViewEngine.cs +++ b/src/Microsoft.AspNet.Mvc.Core/Rendering/IViewEngine.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNet.Mvc.Rendering { public interface IViewEngine { diff --git a/src/Microsoft.AspNet.Mvc.Core/ViewEngineResult.cs b/src/Microsoft.AspNet.Mvc.Core/Rendering/ViewEngineResult.cs similarity index 96% rename from src/Microsoft.AspNet.Mvc.Core/ViewEngineResult.cs rename to src/Microsoft.AspNet.Mvc.Core/Rendering/ViewEngineResult.cs index 7b6bbad76c..434e2721d2 100644 --- a/src/Microsoft.AspNet.Mvc.Core/ViewEngineResult.cs +++ b/src/Microsoft.AspNet.Mvc.Core/Rendering/ViewEngineResult.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Microsoft.AspNet.Mvc +namespace Microsoft.AspNet.Mvc.Rendering { public class ViewEngineResult { diff --git a/src/Microsoft.AspNet.Mvc.Core/TemplateInfo.cs b/src/Microsoft.AspNet.Mvc.Core/TemplateInfo.cs index 3466a9d0db..d1e93b22ab 100644 --- a/src/Microsoft.AspNet.Mvc.Core/TemplateInfo.cs +++ b/src/Microsoft.AspNet.Mvc.Core/TemplateInfo.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using Microsoft.AspNet.Mvc.ModelBinding; -namespace Microsoft.AspNet.Mvc.Rendering +namespace Microsoft.AspNet.Mvc { public class TemplateInfo { diff --git a/src/Microsoft.AspNet.Mvc.Core/ViewComponents/DefaultViewComponentResultHelper.cs b/src/Microsoft.AspNet.Mvc.Core/ViewComponents/DefaultViewComponentResultHelper.cs index fbe033623d..ae01393510 100644 --- a/src/Microsoft.AspNet.Mvc.Core/ViewComponents/DefaultViewComponentResultHelper.cs +++ b/src/Microsoft.AspNet.Mvc.Core/ViewComponents/DefaultViewComponentResultHelper.cs @@ -1,5 +1,4 @@  - using Microsoft.AspNet.Mvc.Rendering; namespace Microsoft.AspNet.Mvc