RedaktContext Class

RedaktContext Class

Default implementation of the IRedaktContext interface. This class is scoped per request.

public class RedaktContext: IRedaktContext

Inheritance  Object RedaktContext

Implements  IRedaktContext

Constructors

Name Description
RedaktContext(IRedaktApplication, IHttpContextAccessor) Default constructor. Services are injected by the IoC container.

Properties

Name Description
Application Gets the global Redakt application instance.
ClientUICulture Gets the client request culture. Does not have to be a site supported culture.
Host Gets the host for the current request.
HttpContext Gets the HTTP context for the current request.
Layout Gets the layout instance for the current request.
Page Gets the page instance for the current request.
RequestUICulture Gets the culture for the current request. Can only be one of the current site supported cultures.
RouteValues Gets the virtual route values for the current request.
Site Gets the site instance for the current request.