[]
Initializes a new instance of the RenderingContext class.
public RenderingContext(IPageInformationService pageInfo, int themeIndex, ILayoutArea layoutArea = null)
Type | Name | Description |
---|---|---|
IPageInformationService | pageInfo | The page information service. |
int | themeIndex | The theme index. Must be greater than or equal to 0. |
ILayoutArea | layoutArea | Optional layout area. |
Type | Condition |
---|---|
ArgumentNullException | Thrown when |
ArgumentOutOfRangeException | Thrown when |