Class IdleTracker
Defines a tracker to track the idle time of the system.
Inheritance
System.Object
IdleTracker
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|---|---|
System.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 |
---|---|
System.Action |
Methods
View SourcePause()
Pauses the tracker.
Declaration
public void Pause()
Resume()
Resumes the tracker.
Declaration
public void Resume()