Class IdleTracker
Defines a tracker to track the idle time of the system.
Namespace: Sartorius.SAF.Presentation
Assembly: Sartorius.SAF.Presentation.Application.dll
Syntax
public class IdleTracker
Constructors
View SourceIdleTracker(TimeSpan)
Initializes a new instance of the IdleTracker class.
Declaration
public IdleTracker(TimeSpan idleTime)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | idleTime | The maximum allowed idle time. |
Properties
View SourceIdle
Invoked when system is idle.
Declaration
public Action Idle { get; set; }
Property Value
| Type | Description |
|---|---|
| Action |
Methods
View SourcePause()
Pauses the tracker.
Declaration
public void Pause()
Resume()
Resumes the tracker.
Declaration
public void Resume()