C# Class Microsoft.VisualStudio.ProjectSystem.FileSystemMirroring.IO.MsBuildFileSystemWatcher

Inheritance: IDisposable
Mostra file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
MsBuildFileSystemWatcher ( string directory, string filter, int delayMilliseconds, int recoveryDelayMilliseconds, IFileSystem fileSystem, IMsBuildFileSystemFilter fileSystemFilter, IActionLog log, TaskScheduler taskScheduler = null ) : System
Start ( ) : void

Private Methods

Method Description
Consume ( ) : void
ConsumeWaitPublish ( ) : Task
CreateFileSystemWatcher ( NotifyFilters notifyFilter ) : IFileSystemWatcher
EmptyQueue ( ) : void
Enqueue ( IFileSystemChange change ) : void
FileSystemWatcherError ( string watcherName, ErrorEventArgs errorEventArgs ) : void
IsFileAllowed ( string rootDirectory, string fullPath, IFileSystem fileSystem, IMsBuildFileSystemFilter filter, string &relativePath, string &shortRelativePath ) : bool
StartConsumer ( ) : void
TryRecover ( ) : Task

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MsBuildFileSystemWatcher() public method

public MsBuildFileSystemWatcher ( string directory, string filter, int delayMilliseconds, int recoveryDelayMilliseconds, IFileSystem fileSystem, IMsBuildFileSystemFilter fileSystemFilter, IActionLog log, TaskScheduler taskScheduler = null ) : System
directory string
filter string
delayMilliseconds int
recoveryDelayMilliseconds int
fileSystem IFileSystem
fileSystemFilter IMsBuildFileSystemFilter
log IActionLog
taskScheduler System.Threading.Tasks.TaskScheduler
return System

Start() public method

public Start ( ) : void
return void