Share via


FileSystemContextChanged Constructors

Definition

Overloads

FileSystemContextChanged(IWorkspace, Func<FileSystemEventArgs,Boolean>)

Initializes a new instance of the FileSystemContextChanged class.

FileSystemContextChanged(IWorkspace, IEnumerable<String>, WatcherChangeTypes)

Initializes a new instance of the FileSystemContextChanged class.

FileSystemContextChanged(IWorkspace, Func<FileSystemEventArgs,Boolean>)

Initializes a new instance of the FileSystemContextChanged class.

public:
 FileSystemContextChanged(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace, Func<System::IO::FileSystemEventArgs ^, bool> ^ fileSystemEventFilter);
public FileSystemContextChanged (Microsoft.VisualStudio.Workspace.IWorkspace workspace, Func<System.IO.FileSystemEventArgs,bool> fileSystemEventFilter);
new Microsoft.VisualStudio.Workspace.FileSystemContextChanged : Microsoft.VisualStudio.Workspace.IWorkspace * Func<System.IO.FileSystemEventArgs, bool> -> Microsoft.VisualStudio.Workspace.FileSystemContextChanged
Public Sub New (workspace As IWorkspace, fileSystemEventFilter As Func(Of FileSystemEventArgs, Boolean))

Parameters

workspace
IWorkspace

Workspace instance

fileSystemEventFilter
Func<FileSystemEventArgs,Boolean>

The file system event filter to apply

Applies to

FileSystemContextChanged(IWorkspace, IEnumerable<String>, WatcherChangeTypes)

Initializes a new instance of the FileSystemContextChanged class.

public FileSystemContextChanged (Microsoft.VisualStudio.Workspace.IWorkspace workspace, System.Collections.Generic.IEnumerable<string> inputFiles, System.IO.WatcherChangeTypes watcherChangeTypes = System.IO.WatcherChangeTypes.All);
new Microsoft.VisualStudio.Workspace.FileSystemContextChanged : Microsoft.VisualStudio.Workspace.IWorkspace * seq<string> * System.IO.WatcherChangeTypes -> Microsoft.VisualStudio.Workspace.FileSystemContextChanged
Public Sub New (workspace As IWorkspace, inputFiles As IEnumerable(Of String), Optional watcherChangeTypes As WatcherChangeTypes = System.IO.WatcherChangeTypes.All)

Parameters

workspace
IWorkspace

Workspace instance

inputFiles
IEnumerable<String>

Input files to track

watcherChangeTypes
WatcherChangeTypes

Change types to track

Applies to