C# Class MediaPortal.GUI.Pictures.PicturesFolderWatcherHelper

ファイルを表示 Open project: MediaPortal/MediaPortal-1

Public Methods

Method Description
ChangeMonitoring ( bool status ) : void
PicturesFolderWatcherHelper ( string directory ) : System
SetMonitoring ( bool status ) : void
StartMonitor ( ) : void

Private Methods

Method Description
AddPictures ( string strFilename ) : void
AddPicturesDirectory ( string strPath ) : void
DeletePictures ( string strFilename ) : void
DeletePicturesDirectory ( string strPath ) : void
OnChanged ( object source, FileSystemEventArgs e ) : void
OnCreated ( object source, FileSystemEventArgs e ) : void
OnDeleted ( object source, FileSystemEventArgs e ) : void
OnDirectoryCreated ( object source, FileSystemEventArgs e ) : void
OnDirectoryDeleted ( object source, FileSystemEventArgs e ) : void
OnDirectoryRenamed ( object source, RenamedEventArgs e ) : void
OnRenamed ( object source, RenamedEventArgs e ) : void
ProcessEvents ( object sender, System.Timers.ElapsedEventArgs e ) : void
RenamePictures ( string oldFilename, string newFilename ) : void
RenamePicturesDirectory ( string oldDirectory, string newDirectory ) : void
WatchFolders ( ) : void

Method Details

ChangeMonitoring() public method

public ChangeMonitoring ( bool status ) : void
status bool
return void

PicturesFolderWatcherHelper() public method

public PicturesFolderWatcherHelper ( string directory ) : System
directory string
return System

SetMonitoring() public method

public SetMonitoring ( bool status ) : void
status bool
return void

StartMonitor() public method

public StartMonitor ( ) : void
return void