C# 클래스 Nitra.VisualStudio.HierarchyListener

상속: IVsHierarchyEvents, IDisposable
파일 보기 프로젝트 열기: rsdn/nitra 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

HierarchyListener ( IVsHierarchy hierarchy ) : System

Initializes a new instance of the HierarchyListener class.

InternalScanHierarchy ( uint itemId ) : void

Do a recursive walk on the hierarchy to find all the nemerle files in it. It will generate an event for every file found.

OnInvalidateIcon ( IntPtr hicon ) : int
OnInvalidateItems ( uint itemidParent ) : int
OnItemAdded ( uint itemidParent, uint itemidSiblingPrev, uint itemidAdded ) : int
OnItemDeleted ( uint itemid ) : int
OnItemsAppended ( uint itemidParent ) : int
OnPropertyChanged ( uint itemid, int propid, uint flags ) : int
StartListening ( bool doInitialScan ) : void

Starts the listening.

StopListening ( ) : void

Stops the listening.

비공개 메소드들

메소드 설명
GetItemId ( object variantValue ) : uint

Gets the item id.

InternalStopListening ( bool throwOnError ) : bool
IsFile ( uint itemId, string &canonicalName ) : bool
TryFierOnAddReference ( uint currentItem ) : bool

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

HierarchyListener() 공개 메소드

Initializes a new instance of the HierarchyListener class.
public HierarchyListener ( IVsHierarchy hierarchy ) : System
hierarchy IVsHierarchy The hierarchy.
리턴 System

InternalScanHierarchy() 공개 메소드

Do a recursive walk on the hierarchy to find all the nemerle files in it. It will generate an event for every file found.
public InternalScanHierarchy ( uint itemId ) : void
itemId uint
리턴 void

OnInvalidateIcon() 공개 메소드

public OnInvalidateIcon ( IntPtr hicon ) : int
hicon System.IntPtr
리턴 int

OnInvalidateItems() 공개 메소드

public OnInvalidateItems ( uint itemidParent ) : int
itemidParent uint
리턴 int

OnItemAdded() 공개 메소드

public OnItemAdded ( uint itemidParent, uint itemidSiblingPrev, uint itemidAdded ) : int
itemidParent uint
itemidSiblingPrev uint
itemidAdded uint
리턴 int

OnItemDeleted() 공개 메소드

public OnItemDeleted ( uint itemid ) : int
itemid uint
리턴 int

OnItemsAppended() 공개 메소드

public OnItemsAppended ( uint itemidParent ) : int
itemidParent uint
리턴 int

OnPropertyChanged() 공개 메소드

public OnPropertyChanged ( uint itemid, int propid, uint flags ) : int
itemid uint
propid int
flags uint
리턴 int

StartListening() 공개 메소드

Starts the listening.
public StartListening ( bool doInitialScan ) : void
doInitialScan bool if set to true [do initial scan].
리턴 void

StopListening() 공개 메소드

Stops the listening.
public StopListening ( ) : void
리턴 void