SaaS CMS has officially launched! Learn more now.

Class BlockController<TBlockData>

Provides the base implementation for for block controllers.

Inheritance
System.Object
BlockController<TBlockData>
Implements
IRenderTemplate<TBlockData>
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public abstract class BlockController<TBlockData> : PartialContentController<TBlockData>, IRenderTemplate<TBlockData>, IRenderTemplate where TBlockData : BlockData
Type Parameters
Name Description
TBlockData

The type of the block data.

Examples

The following code example demonstrates two simple block controllers.

Constructors

BlockController()

Declaration
protected BlockController()

Implements

Extension Methods