Skip to main content
Version: 3.5

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
TType of the session-singleton object.

Constructors

Instance memberSessionReference()

Initializes a new instance of SessionReference.

Properties

Instance memberId

String: Id of the session holding the SessionReference.

Instance memberInstance

WeakReference<T>: Singleton instance of T .