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