Class BlockController<TBlockData>
Provides the base implementation for for block controllers.
Inherited Members
Namespace: EPiServer.Web.Mvc
Assembly: EPiServer.dll
Version: 8.11.0Syntax
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()