C# 클래스 Nitra.VisualStudio.Library

상속: IVsSimpleLibrary2
파일 보기 프로젝트 열기: JetBrains/Nitra 1 사용 예제들

공개 메소드들

메소드 설명
AddBrowseContainer ( VSCOMPONENTSELECTORDATA pcdComponent, uint &pgrfOptions, string &pbstrComponentAdded ) : int
CreateNavInfo ( SYMBOL_DESCRIPTION_NODE rgSymbolNodes, uint ulcNodes, IVsNavInfo &ppNavInfo ) : int
GetBrowseContainersForHierarchy ( IVsHierarchy pHierarchy, uint celt, VSBROWSECONTAINER rgBrowseContainers, uint pcActual ) : int
GetGuid ( System.Guid &pguidLib ) : int
GetLibFlags2 ( uint &pgrfFlags ) : int
GetList2 ( uint ListType, uint flags, VSOBSEARCHCRITERIA2 pobSrch, IVsSimpleObjectList2 &ppIVsSimpleObjectList2 ) : int

Этот метод один для целой кучи функциональности: Find All References, Calls From, Calls To, и других

GetSeparatorStringWithOwnership ( string &pbstrSeparator ) : int
GetSupportedCategoryFields2 ( int category, uint &pCatField ) : int

Старая реализация была не верна, но и эта почему-то не работает

Library ( ) : System
LoadState ( IStream pIStream, LIB_PERSISTTYPE lptType ) : int
OnFindAllReferencesDone ( IVsSimpleObjectList2 findResults ) : void

Stores existing "Find All References" results in the _findResults field. Сохраняет уже готовые результаты поиска "Find All References" в поле _findResults.

RemoveBrowseContainer ( uint dwReserved, string pszLibName ) : int
SaveState ( IStream pIStream, LIB_PERSISTTYPE lptType ) : int
UpdateCounter ( uint &pCurUpdate ) : int

메소드 상세

AddBrowseContainer() 공개 메소드

public AddBrowseContainer ( VSCOMPONENTSELECTORDATA pcdComponent, uint &pgrfOptions, string &pbstrComponentAdded ) : int
pcdComponent VSCOMPONENTSELECTORDATA
pgrfOptions uint
pbstrComponentAdded string
리턴 int

CreateNavInfo() 공개 메소드

public CreateNavInfo ( SYMBOL_DESCRIPTION_NODE rgSymbolNodes, uint ulcNodes, IVsNavInfo &ppNavInfo ) : int
rgSymbolNodes SYMBOL_DESCRIPTION_NODE
ulcNodes uint
ppNavInfo IVsNavInfo
리턴 int

GetBrowseContainersForHierarchy() 공개 메소드

public GetBrowseContainersForHierarchy ( IVsHierarchy pHierarchy, uint celt, VSBROWSECONTAINER rgBrowseContainers, uint pcActual ) : int
pHierarchy IVsHierarchy
celt uint
rgBrowseContainers VSBROWSECONTAINER
pcActual uint
리턴 int

GetGuid() 공개 메소드

public GetGuid ( System.Guid &pguidLib ) : int
pguidLib System.Guid
리턴 int

GetLibFlags2() 공개 메소드

public GetLibFlags2 ( uint &pgrfFlags ) : int
pgrfFlags uint
리턴 int

GetList2() 공개 메소드

Этот метод один для целой кучи функциональности: Find All References, Calls From, Calls To, и других
public GetList2 ( uint ListType, uint flags, VSOBSEARCHCRITERIA2 pobSrch, IVsSimpleObjectList2 &ppIVsSimpleObjectList2 ) : int
ListType uint
flags uint
pobSrch VSOBSEARCHCRITERIA2
ppIVsSimpleObjectList2 IVsSimpleObjectList2
리턴 int

GetSeparatorStringWithOwnership() 공개 메소드

public GetSeparatorStringWithOwnership ( string &pbstrSeparator ) : int
pbstrSeparator string
리턴 int

GetSupportedCategoryFields2() 공개 메소드

Старая реализация была не верна, но и эта почему-то не работает
public GetSupportedCategoryFields2 ( int category, uint &pCatField ) : int
category int
pCatField uint
리턴 int

Library() 공개 메소드

public Library ( ) : System
리턴 System

LoadState() 공개 메소드

public LoadState ( IStream pIStream, LIB_PERSISTTYPE lptType ) : int
pIStream IStream
lptType LIB_PERSISTTYPE
리턴 int

OnFindAllReferencesDone() 공개 메소드

Stores existing "Find All References" results in the _findResults field. Сохраняет уже готовые результаты поиска "Find All References" в поле _findResults.
public OnFindAllReferencesDone ( IVsSimpleObjectList2 findResults ) : void
findResults IVsSimpleObjectList2
리턴 void

RemoveBrowseContainer() 공개 메소드

public RemoveBrowseContainer ( uint dwReserved, string pszLibName ) : int
dwReserved uint
pszLibName string
리턴 int

SaveState() 공개 메소드

public SaveState ( IStream pIStream, LIB_PERSISTTYPE lptType ) : int
pIStream IStream
lptType LIB_PERSISTTYPE
리턴 int

UpdateCounter() 공개 메소드

public UpdateCounter ( uint &pCurUpdate ) : int
pCurUpdate uint
리턴 int