Table of Contents

Class WatcherEventArgs

Namespace
Cuemon.Runtime
Assembly
Cuemon.Core.dll

Provides data for watcher related operations.

public class WatcherEventArgs : EventArgs
Inheritance
Object
EventArgs
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

utcLastModified DateTime

The time when a Watcher last detected changes to a resource.

WatcherEventArgs(DateTime, TimeSpan)

Initializes a new instance of the WatcherEventArgs class.

public WatcherEventArgs(DateTime utcLastModified, TimeSpan delayed)

Parameters

utcLastModified DateTime

The time when a Watcher last detected changes to a resource.

delayed TimeSpan

The 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

WatcherEventArgs

Properties

Delayed

Gets the time a Watcher was intentionally delayed before signaling changes to a resource.

public TimeSpan Delayed { get; }

Property Value

TimeSpan

UtcLastModified

Gets the time when a watcher last detected changes to a resource, or a System.DateTime.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 System.DateTime.MinValue if an empty event.

Remarks

This property is measured in Coordinated Universal Time (UTC) (also known as Greenwich Mean Time).