Nucleus .Net Core CMS

Models.Context Class

Namespace: Nucleus.Abstractions.Models
Assembly: Nucleus.Abstractions.dll
Encapsulates information about the current request.
Get a reference to the Context class by using dependency injection. The class is populated by Nucleus.Core.LayoutPageRoutingMiddleware and Nucleus.Core.LayoutModuleRoutingMiddleware and can be used in extensions.
Represents parameters which are specified at the end of the local (page route) path.
The page route which was matched to find the page.
The module being accessed.
Remarks
This property is set when rendering a module and when an extension route is used to call a controller action, or to get the output of a single module only. It is NULL otherwise See Nucleus.Core.LayoutModuleRoutingMiddleware for information on extension routes.
The page being accessed.
The site being accessed.