IFileSystemLinkWatcher

Namespace: TagBites.IO
Assembly: TagBites.IO.dll

Provides a mechanism for listening to the file system change notifications and raises events when a directory, or file in directory changes.

public abstract interface IFileSystemLinkWatcher : System.IDisposable

Properties

Gets a link to file/file version/directory.

public IFileSystemLink Link { get; }

Result Type: IFileSystemLink

Events

Changed

Occurs when a file/directory is changed.

public EventHandler<FileSystemLinkChangeEventArgs> Changed

Result Type: EventHandler<FileSystemLinkChangeEventArgs>

Created

Occurs when a file/directory is created.

public EventHandler<FileSystemLinkChangeEventArgs> Created

Result Type: EventHandler<FileSystemLinkChangeEventArgs>

Deleted

Occurs when a file/directory is deleted.

public EventHandler<FileSystemLinkChangeEventArgs> Deleted

Result Type: EventHandler<FileSystemLinkChangeEventArgs>

Moved

Occurs when a file/directory is moved.

public EventHandler<FileSystemLinkMoveEventArgs> Moved

Result Type: EventHandler<FileSystemLinkMoveEventArgs>