Click or drag to resize
SectionController Constructor (ICurrentPageRetriever)

Note: This API is now obsolete.

Creates an instance of SectionController class.

Namespace: Kentico.PageBuilder.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use SectionController(IPageBuilderDataContextRetriever pageBuilderDataContextRetriever) constructor instead.")]
protected SectionController(
	ICurrentPageRetriever currentPageRetriever
)

Parameters

currentPageRetriever
Type: Kentico.PageBuilder.Web.MvcICurrentPageRetriever
Retriever for current page where is the section used.
Remarks
Use this constructor for tests to handle dependencies.
See Also