C# Class Nitra.VisualStudio.Library

Inheritance: IVsSimpleLibrary2
Datei anzeigen Open project: JetBrains/Nitra Class Usage Examples

Public Methods

Method Description
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

Method Details

AddBrowseContainer() public method

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

CreateNavInfo() public method

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

GetBrowseContainersForHierarchy() public method

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

GetGuid() public method

public GetGuid ( System.Guid &pguidLib ) : int
pguidLib System.Guid
return int

GetLibFlags2() public method

public GetLibFlags2 ( uint &pgrfFlags ) : int
pgrfFlags uint
return int

GetList2() public method

Этот метод один для целой кучи функциональности: 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
return int

GetSeparatorStringWithOwnership() public method

public GetSeparatorStringWithOwnership ( string &pbstrSeparator ) : int
pbstrSeparator string
return int

GetSupportedCategoryFields2() public method

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

Library() public method

public Library ( ) : System
return System

LoadState() public method

public LoadState ( IStream pIStream, LIB_PERSISTTYPE lptType ) : int
pIStream IStream
lptType LIB_PERSISTTYPE
return int

OnFindAllReferencesDone() public method

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

RemoveBrowseContainer() public method

public RemoveBrowseContainer ( uint dwReserved, string pszLibName ) : int
dwReserved uint
pszLibName string
return int

SaveState() public method

public SaveState ( IStream pIStream, LIB_PERSISTTYPE lptType ) : int
pIStream IStream
lptType LIB_PERSISTTYPE
return int

UpdateCounter() public method

public UpdateCounter ( uint &pCurUpdate ) : int
pCurUpdate uint
return int