C# Class MediaPortal.GUI.Video.VideoFolderWatcherHelper

Afficher le fichier Open project: MediaPortal/MediaPortal-1

Méthodes publiques

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

Private Methods

Méthode Description
AddVideo ( string strFilename ) : void
AddVideoDirectory ( string strPath ) : void
DeleteVideo ( string strFilename ) : void
DeleteVideoDirectory ( 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
RenameVideo ( string oldFilename, string newFilename ) : void
RenameVideoDirectory ( string oldDirectory, string newDirectory ) : void
WatchFolders ( ) : void

Method Details

ChangeMonitoring() public méthode

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

PauseMonitoring() public méthode

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

SetMonitoring() public méthode

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

StartMonitor() public méthode

public StartMonitor ( ) : void
Résultat void

VideoFolderWatcherHelper() public méthode

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