C# (CSharp) Rebel.Cms.Web.Mvc.ViewEngines Namespace

Classes

Name Description
AlternateLocationViewEngine A ViewEngine that allows a controller's views to be shared with other controllers without having to put these shared views in the 'Shared' folder. This is useful for when you have inherited controllers. This will allow of 'overriding' of views, for example if i have a controller called 'Media' that has an alternate view location of 'Content', the 'Content' folder could contain all of the partial views necessary, but we could have a different main view in the 'Media' folder which would be used and then all of the 'Content' partial views could be used.
AlternateViewEnginePathAttribute An attribute for a controller that specifies that the ViewEngine should look for views for this controller using a different controllers name. This is useful if you want to share views between specific controllers but don't want to have to put all of the views into the Shared folder.
MasterViewPageActivator
PluginViewEngine A ViewEngine to support non-embedded views for packaged plugins for both editors, property editors and dashboards
PostViewPageActivatorAttribute
PostViewPageActivatorExtensions
RebelContextViewPageActivator
RebelHelperViewPageActivator
RenderViewEngine A view engine to look into the template location specified in the config for the front-end/Rendering part of the cms, this includes paths to render partial macros and media item templates.
RenderViewPageActivator Ensures the CurrentPage property is set on the RenderViewPage
TwoLevelViewCache A custom view cache to improve performance of view lookups. Reference: http://blogs.msdn.com/b/marcinon/archive/2011/08/16/optimizing-mvc-view-lookup-performance.aspx