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

public class RedaktContext: IRedaktContext
Inheritance:
ObjectRedaktContext
Implements:
IRedaktContext

Constructors

RedaktContext(IRedaktApplicationContext, IHttpContextAccessor, IUrlBuilder) Default constructor. Services are injected by the IoC container.

Properties

ApplicationContext
Collection Gets the collection instance for the current request.
Host Gets the host for the current request.
PublishedContent Gets the published page instance for the current request.
View Gets the view descriptor instance for the current request.
ViewModel Gets the view model instance for the current request.
RouteValues Gets the virtual route values for the current request.
ClientUICulture Gets the client request culture. Does not have to be a site supported culture.
RequestUICulture Gets the culture for the current request. Can only be one of the current site supported cultures.
HttpContext
Url