Show / Hide Table of Contents

Class SessionVariable<T>

Inheritance
object
StateVariable<T>
SessionVariable<T>
Inherited Members
StateVariable<T>.Clear()
StateVariable<T>.HasValue
StateVariable<T>.ValueOrDefault
StateVariable<T>.Value
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke.dll
Syntax
public class SessionVariable<T> : StateVariable<T>
Type Parameters
Name Description
T

Constructors

SessionVariable(string)

Declaration
public SessionVariable(string key)
Parameters
Type Name Description
string key

SessionVariable(string, Func<T>)

Declaration
public SessionVariable(string key, Func<T> initializer)
Parameters
Type Name Description
string key
Func<T> initializer

Properties

this[string]

Declaration
protected override object this[string key] { get; set; }
Parameters
Type Name Description
string key
Property Value
Type Description
object
Overrides
StateVariable<T>.this[string]

Methods

Remove(string)

Declaration
protected override void Remove(string key)
Parameters
Type Name Description
string key
Overrides
StateVariable<T>.Remove(string)

Extension Methods

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