Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes resources.
|
|
FileChangeManager ( System.IServiceProvider serviceProvider ) : System |
Overloaded ctor.
|
|
IgnoreItemChanges ( string fileName, bool ignore ) : void |
Ignore item file changes for the specified item.
|
|
ObserveItem ( string fileName ) : void |
Observe when the given file is updated on disk. In this case we do not care about the item id that represents the file in the hierarchy.
|
|
ObserveItem ( string fileName, uint id ) : void |
Observe when the given file is updated on disk.
|
|
StopObservingItem ( string fileName ) : void |
Stop observing when the file is updated on disk.
|
Method | Description | |
---|---|---|
OnFileChangedOnDisk ( |
Method | Description | |
---|---|---|
IVsFileChangeEvents ( string directory ) : int |
Notifies clients of changes made to a directory.
|
|
IVsFileChangeEvents ( uint numberOfFilesChanged, string filesChanged, uint flags ) : int |
Called when one of the file have changed on disk.
|
public FileChangeManager ( System.IServiceProvider serviceProvider ) : System | ||
serviceProvider | System.IServiceProvider | |
return | System |
public IgnoreItemChanges ( string fileName, bool ignore ) : void | ||
fileName | string | File to ignore observing. |
ignore | bool | Flag indicating whether or not to ignore changes (1 to ignore, 0 to stop ignoring). |
return | void |
public ObserveItem ( string fileName ) : void | ||
fileName | string | File to observe. |
return | void |
public ObserveItem ( string fileName, uint id ) : void | ||
fileName | string | File to observe. |
id | uint | The item id of the item to observe. |
return | void |
protected OnFileChangedOnDisk ( |
||
e | ||
return | void |
public StopObservingItem ( string fileName ) : void | ||
fileName | string | File to stop observing. |
return | void |