Interface IActiveSession
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
An interface used to access Active Session object
public interface IActiveSession : ILocalSession
- Inherited Members
- Extension Methods
Properties
- BaseId
The identifier of the base local session for this active session.
- CleanupCompletionTask
Task that performs asynchronous cleanup of this active session (waits for all runners completion etc).
- Generation
A generation number of this ActiveSession within the containing ASP.NET Core session/
- IsFresh
Indicator that the Active Session object was just created an is still empty.
Methods
- CreateRunner<TRequest, TResult>(TRequest, HttpContext)
A method used to create a new runner
- GetNonTypedRunner(int, HttpContext)
A method used to search for and return a base, non-typed interface of an existing runner
- GetNonTypedRunnerAsync(int, HttpContext, CancellationToken)
An asynchronous version of GetNonTypedRunner(int, HttpContext) method.
- GetRunnerAsync<TResult>(int, HttpContext, CancellationToken)
An asynchronous version of GetRunner<TResult>(int, HttpContext) method.
- GetRunner<TResult>(int, HttpContext)
A method used to search for an existing runner
- Terminate(HttpContext)
Terminate the active session aborting all runners.
- TrackRunnerCleanup(int)
Obtains a task for the runner that tracks the runner's completion and cleanup, completing after the runner has been completed and its object has been disposed (if disposal is required).