Interface IActiveSessionFeature
- Namespace
- MVVrus.AspNetCore.ActiveSession
- Assembly
- MVVrus.AspNetCore.ActiveSession.dll
The feature interface for an ActiveSession feature to be put into a Features collection.
public interface IActiveSessionFeature
Properties
- ActiveSession
Points to an Active Session object for this request.
- IsLoaded
Indicates that ActiveSession property contains reference to an initialized ActiveSession-imlementing object (which may be dummy one).
- LocalSession
Points to an Local Session object for this request.
Methods
- CommitAsync(CancellationToken)
Asynchronously commits all changes related to the ActiveSession-imlementing object.
- GetCurrentStoreStatistics()
Get current ActiveSession store usage statistics.
- LoadAsync(CancellationToken)
Asynchronously initializes all ActiveSession stuff.
- RefreshActiveSession()
Tries to update an active session object for this request if the previous one has been terminated.