C# Class Pokemon3D.Common.FileSystem.WatchedDirectory

A directory watched by the FileObserver class.
Inheritance: WatchedResource
Mostra file Open project: nilllzz/Pokemon3D

Public Methods

Method Description
AddHandler ( WatchedDirectoryChangeEventHandler eventHandler ) : void
RemoveHandler ( WatchedDirectoryChangeEventHandler eventHandler ) : void
WatchedDirectory ( string directoryPath, string fileExtension, WatchedDirectoryChangeEventHandler eventHandler ) : System.IO

Private Methods

Method Description
OnWatcherEvent ( object sender, FileSystemEventArgs e ) : void

Method Details

AddHandler() public method

public AddHandler ( WatchedDirectoryChangeEventHandler eventHandler ) : void
eventHandler WatchedDirectoryChangeEventHandler
return void

RemoveHandler() public method

public RemoveHandler ( WatchedDirectoryChangeEventHandler eventHandler ) : void
eventHandler WatchedDirectoryChangeEventHandler
return void

WatchedDirectory() public method

public WatchedDirectory ( string directoryPath, string fileExtension, WatchedDirectoryChangeEventHandler eventHandler ) : System.IO
directoryPath string
fileExtension string
eventHandler WatchedDirectoryChangeEventHandler
return System.IO