Click or drag to resize
SectionControllerTPropertiesType Constructor (IComponentPropertiesRetrieverTPropertiesType, ICurrentPageRetriever)

Namespace: Kentico.PageBuilder.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
protected SectionController(
	IComponentPropertiesRetriever<TPropertiesType> propertiesRetriever,
	ICurrentPageRetriever currentPageRetriever
)

Parameters

propertiesRetriever
Type: Kentico.PageBuilder.Web.MvcIComponentPropertiesRetrieverTPropertiesType
Retriever for section properties.
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