C# 클래스 Microsoft.VisualStudio.Project.FileChangeManager

This object is in charge of reloading nodes that have file monikers that can be listened to changes
상속: IVsFileChangeEvents
파일 보기 프로젝트 열기: tunnelvisionlabs/MPFProj10 1 사용 예제들

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
OnFileChangedOnDisk ( FileChangedOnDiskEventArgs e ) : void

비공개 메소드들

메소드 설명
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.

메소드 상세

Dispose() 공개 메소드

Disposes resources.
public Dispose ( ) : void
리턴 void

FileChangeManager() 공개 메소드

Overloaded ctor.
public FileChangeManager ( System.IServiceProvider serviceProvider ) : System
serviceProvider System.IServiceProvider
리턴 System

IgnoreItemChanges() 공개 메소드

Ignore item file changes for the specified item.
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).
리턴 void

ObserveItem() 공개 메소드

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.
public ObserveItem ( string fileName ) : void
fileName string File to observe.
리턴 void

ObserveItem() 공개 메소드

Observe when the given file is updated on disk.
public ObserveItem ( string fileName, uint id ) : void
fileName string File to observe.
id uint The item id of the item to observe.
리턴 void

OnFileChangedOnDisk() 보호된 메소드

protected OnFileChangedOnDisk ( FileChangedOnDiskEventArgs e ) : void
e FileChangedOnDiskEventArgs
리턴 void

StopObservingItem() 공개 메소드

Stop observing when the file is updated on disk.
public StopObservingItem ( string fileName ) : void
fileName string File to stop observing.
리턴 void