Table of Contents

Class Context

Namespace
Dynamicweb
Assembly
Dynamicweb.Environment.dll
Encapsulates all context specific information about an individual Request
public static class Context
Inheritance
Context
Inherited Members

Properties

ContextAccessor

The context accessor
public static IContextAccessor ContextAccessor { get; set; }

Property Value

IContextAccessor

ContextMapper

The context mapper
[Obsolete("Use ContextAccessor")]
public static IContextMapper ContextMapper { get; set; }

Property Value

IContextMapper

Current

Gets or sets the current context
public static IContext Current { get; set; }

Property Value

IContext
The current context.

Methods

SetDefaultContext(IContext)

Sets the default context.
[Obsolete("Use ContextAccessor")]
public static void SetDefaultContext(IContext context)

Parameters

context IContext
The context.
To top