C# Class MediaPortal.GUI.Pictures.PicturesFolderWatcherHelper

Afficher le fichier Open project: MediaPortal/MediaPortal-1

Méthodes publiques

Méthode Description
ChangeMonitoring ( bool status ) : void
PicturesFolderWatcherHelper ( string directory ) : System
SetMonitoring ( bool status ) : void
StartMonitor ( ) : void

Private Methods

Méthode 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 méthode

public ChangeMonitoring ( bool status ) : void
status bool
Résultat void

PicturesFolderWatcherHelper() public méthode

public PicturesFolderWatcherHelper ( string directory ) : System
directory string
Résultat System

SetMonitoring() public méthode

public SetMonitoring ( bool status ) : void
status bool
Résultat void

StartMonitor() public méthode

public StartMonitor ( ) : void
Résultat void