Show / Hide Table of Contents

Class DotNetNukeContext

Inheritance
object
DotNetNukeContext
Implements
IDnnContext
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Application
Assembly: DotNetNuke.dll
Syntax
public class DotNetNukeContext : IDnnContext

Constructors

DotNetNukeContext()

Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.1. This constructor has been replaced by parameterized public constructor which is designed to be used with Dependency Injection. Resolve the new interface 'DotNetNuke.Abstractions.IDnnContext' instead. Scheduled removal in v11.0.0.")]
protected DotNetNukeContext()

DotNetNukeContext(IApplicationInfo)

Declaration
public DotNetNukeContext(IApplicationInfo applicationInfo)
Parameters
Type Name Description
IApplicationInfo applicationInfo

DotNetNukeContext(Application)

Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.1. This constructor has been replaced by the overload taking an IApplicationInfo, which should be resolved via Dependency Injection. Scheduled removal in v11.0.0.")]
protected DotNetNukeContext(Application application)
Parameters
Type Name Description
Application application

Properties

Application

Declaration
public Application Application { get; }
Property Value
Type Description
Application

ContainerEventListeners

Declaration
public IList<ContainerEventListener> ContainerEventListeners { get; }
Property Value
Type Description
IList<ContainerEventListener>

Current

Declaration
public static DotNetNukeContext Current { get; set; }
Property Value
Type Description
DotNetNukeContext

SkinEventListeners

Declaration
public IList<SkinEventListener> SkinEventListeners { get; }
Property Value
Type Description
IList<SkinEventListener>

Implements

IDnnContext

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS