Click or drag to resize

SessionCreateInstanceT Method (IAppContext, Boolean)

Creates a new Session object instance (loading from the cache when possible) with special handling when creating the master Session object instance.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static T CreateInstance<T>(
	IAppContext appCxt,
	bool masterSession
)
where T : new(), Session

Parameters

appCxt
Type: NetQuarryIAppContext
The application context.
masterSession
Type: SystemBoolean
True if the master session is being created, else false.

Type Parameters

T
The derived session type.

Return Value

Type: T
The newly created master session object.
See Also