Show / Hide Table of Contents

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 Source

IdleTracker(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 Source

Idle

Invoked when system is idle.

Declaration
public Action Idle { get; set; }
Property Value
Type Description
System.Action

Methods

View Source

Pause()

Pauses the tracker.

Declaration
public void Pause()
View Source

Resume()

Resumes the tracker.

Declaration
public void Resume()

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX