Class WatcherEventArgs
- Namespace
- Cuemon.Runtime
- Assembly
- Cuemon.Core.dll
Provides data for watcher related operations.
public class WatcherEventArgs : EventArgs
- Inheritance
-
WatcherEventArgs
Constructors
WatcherEventArgs()
Initializes a new instance of the WatcherEventArgs class.
protected WatcherEventArgs()
WatcherEventArgs(DateTime)
Initializes a new instance of the WatcherEventArgs class.
public WatcherEventArgs(DateTime utcLastModified)
Parameters
WatcherEventArgs(DateTime, TimeSpan)
Initializes a new instance of the WatcherEventArgs class.
public WatcherEventArgs(DateTime utcLastModified, TimeSpan delayed)
Parameters
utcLastModified
DateTimeThe time when a Watcher last detected changes to a resource.
delayed
TimeSpanThe time a Watcher was intentionally delayed before signaling changes to a resource.
Fields
Empty
Represents an event with no event data.
public static readonly WatcherEventArgs Empty
Field Value
Properties
Delayed
Gets the time a Watcher was intentionally delayed before signaling changes to a resource.
public TimeSpan Delayed { get; }
Property Value
UtcLastModified
Gets the time when a watcher last detected changes to a resource, or a MinValue if an empty event.
public DateTime UtcLastModified { get; }
Property Value
- DateTime
The time when a watcher last detected changes to a resource, or a MinValue if an empty event.
Remarks
This property is measured in Coordinated Universal Time (UTC) (also known as Greenwich Mean Time).