C# Class CSharpAnalytics.Sessions.TimeoutSessionManager

Inheritance: SessionManager
Afficher le fichier Open project: TechSmith/CSharpAnalytics Class Usage Examples

Méthodes publiques

Méthode Description
TimeoutSessionManager ( SessionState sessionState, System.TimeSpan timeout ) : System

Private Methods

Méthode Description
Hit ( ) : void
StartNewSessionIfTimedOut ( DateTimeOffset activityStartedAt ) : void

Starts are new session if the previous one has expired.

TimeSinceLastActivity ( DateTimeOffset nextActivityTime ) : System.TimeSpan

Calculate the elapsed time since the last activity.

Method Details

TimeoutSessionManager() public méthode

public TimeoutSessionManager ( SessionState sessionState, System.TimeSpan timeout ) : System
sessionState SessionState
timeout System.TimeSpan
Résultat System