SessionReference<T>

Wisej.Web.SessionReference<T>

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.0.0.0)

Keeps a WeakReferencearrow-up-right 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

Name
Description

T

Type of the session-singleton object.

Constructors

SessionReference()

Initializes a new instance of SessionReferencearrow-up-right.

Properties

Id

Stringarrow-up-right: Id of the session holding the SessionReferencearrow-up-right.

Instance

WeakReference<T>arrow-up-right: Singleton instance of T .

Last updated

Was this helpful?