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
Public Shared Function CreateInstance(Of T As {New, Session}) (
appCxt As IAppContext,
masterSession As Boolean
) As T
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:
TThe newly created master session object.
See Also