Class ContentController<T>
Provides the base implementation for for content controllers.
Inherited Members
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
[RequireClientResources]
[AuthorizeContent]
[VisitorGroupImpersonation]
[TemplateDescriptor(TemplateTypeCategory = TemplateTypeCategories.MvcController)]
public abstract class ContentController<T> : ActionControllerBase, IRenderTemplate<T>, IRenderTemplate where T : IContent
Type Parameters
Name | Description |
---|---|
T |
Remarks
The ContentController class is small, containing only a few methods and properties for handling three basic tasks:
- Support for access checks.
- Support for handling actions that are not available in the controller.
- Setting up the capability of impersonating visitor groups.
Constructors
ContentController()
Declaration
protected ContentController()