Click or drag to resize
WidgetController Constructor (ICurrentPageRetriever)
Creates an instance of WidgetController class.

Namespace: Kentico.PageBuilder.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
protected WidgetController(
	ICurrentPageRetriever currentPageRetriever
)

Parameters

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