SessionReference<T>

Wisej.Web.SessionReference<T>

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Keeps a WeakReference to an singleton instance of T stored in the current Application. Since 3.2.7

public class SessionReference<T>

Use GetInstance to retrieve the session-singleton instance of your object of type T .

Parameters

NameDescription

T

Type of the session-singleton object.

Constructors

Initializes a new instance of SessionReference.

Properties

String: Id of the session holding the SessionReference.

WeakReference<T>: Singleton instance of T .

Last updated