C# Class Microsoft.VisualStudio.Shell.Mocks.TextManagerMock

Inheritance: IConnectionPointContainer, IVsTextManager2, IVsTextManager3, IVsTextManager4
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
AttemptToCheckOutBufferFromScc3 ( IVsTextBuffer pBuffer, string pszFileName, uint dwQueryEditFlags, int &pbCheckoutSucceeded, int &piStatusFlags ) : int
EnumConnectionPoints ( IEnumConnectionPoints &ppEnum ) : void
FindConnectionPoint ( System.Guid &riid, IConnectionPoint &ppCP ) : void
FindLanguageSIDForExtensionlessFilename ( string pszFileName, System.Guid &pguidLangSID ) : int
FireReplaceAllInFilesBegin ( ) : int
FireReplaceAllInFilesEnd ( ) : int
GetActiveView2 ( int fMustHaveFocus, IVsTextBuffer pBuffer, uint grfIncludeViewFrameType, IVsTextView &ppView ) : int
GetBufferSccStatus3 ( IVsTextBuffer pBuffer, string pszFileName, int &pbCheckoutSucceeded, int &piStatusFlags ) : int
GetExpansionManager ( IVsExpansionManager &pExpansionManager ) : int
GetUserPreferences2 ( VIEWPREFERENCES2 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
GetUserPreferences3 ( VIEWPREFERENCES3 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
GetUserPreferences4 ( VIEWPREFERENCES3 pViewPrefs, LANGPREFERENCES3 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
NavigateToLineAndColumn2 ( IVsTextBuffer pBuffer, System.Guid &guidDocViewType, int iStartRow, int iStartIndex, int iEndRow, int iEndIndex, uint grfIncludeViewFrameType ) : int
NavigateToPosition2 ( IVsTextBuffer pBuffer, System.Guid &guidDocViewType, int iPos, int iLen, uint grfIncludeViewFrameType ) : int
PrimeExpansionManager ( System.Guid &guidLang ) : int
ResetColorableItems ( System.Guid guidLang ) : int
SetUserPreferences2 ( VIEWPREFERENCES2 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
SetUserPreferences3 ( VIEWPREFERENCES3 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
SetUserPreferences4 ( VIEWPREFERENCES3 pViewPrefs, LANGPREFERENCES3 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int

Method Details

AttemptToCheckOutBufferFromScc3() public méthode

public AttemptToCheckOutBufferFromScc3 ( IVsTextBuffer pBuffer, string pszFileName, uint dwQueryEditFlags, int &pbCheckoutSucceeded, int &piStatusFlags ) : int
pBuffer IVsTextBuffer
pszFileName string
dwQueryEditFlags uint
pbCheckoutSucceeded int
piStatusFlags int
Résultat int

EnumConnectionPoints() public méthode

public EnumConnectionPoints ( IEnumConnectionPoints &ppEnum ) : void
ppEnum IEnumConnectionPoints
Résultat void

FindConnectionPoint() public méthode

public FindConnectionPoint ( System.Guid &riid, IConnectionPoint &ppCP ) : void
riid System.Guid
ppCP IConnectionPoint
Résultat void

FindLanguageSIDForExtensionlessFilename() public méthode

public FindLanguageSIDForExtensionlessFilename ( string pszFileName, System.Guid &pguidLangSID ) : int
pszFileName string
pguidLangSID System.Guid
Résultat int

FireReplaceAllInFilesBegin() public méthode

public FireReplaceAllInFilesBegin ( ) : int
Résultat int

FireReplaceAllInFilesEnd() public méthode

public FireReplaceAllInFilesEnd ( ) : int
Résultat int

GetActiveView2() public méthode

public GetActiveView2 ( int fMustHaveFocus, IVsTextBuffer pBuffer, uint grfIncludeViewFrameType, IVsTextView &ppView ) : int
fMustHaveFocus int
pBuffer IVsTextBuffer
grfIncludeViewFrameType uint
ppView IVsTextView
Résultat int

GetBufferSccStatus3() public méthode

public GetBufferSccStatus3 ( IVsTextBuffer pBuffer, string pszFileName, int &pbCheckoutSucceeded, int &piStatusFlags ) : int
pBuffer IVsTextBuffer
pszFileName string
pbCheckoutSucceeded int
piStatusFlags int
Résultat int

GetExpansionManager() public méthode

public GetExpansionManager ( IVsExpansionManager &pExpansionManager ) : int
pExpansionManager IVsExpansionManager
Résultat int

GetUserPreferences2() public méthode

public GetUserPreferences2 ( VIEWPREFERENCES2 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES2
pFramePrefs FRAMEPREFERENCES2
pLangPrefs LANGPREFERENCES2
pColorPrefs FONTCOLORPREFERENCES2
Résultat int

GetUserPreferences3() public méthode

public GetUserPreferences3 ( VIEWPREFERENCES3 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES3
pFramePrefs FRAMEPREFERENCES2
pLangPrefs LANGPREFERENCES2
pColorPrefs FONTCOLORPREFERENCES2
Résultat int

GetUserPreferences4() public méthode

public GetUserPreferences4 ( VIEWPREFERENCES3 pViewPrefs, LANGPREFERENCES3 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES3
pLangPrefs LANGPREFERENCES3
pColorPrefs FONTCOLORPREFERENCES2
Résultat int

NavigateToLineAndColumn2() public méthode

public NavigateToLineAndColumn2 ( IVsTextBuffer pBuffer, System.Guid &guidDocViewType, int iStartRow, int iStartIndex, int iEndRow, int iEndIndex, uint grfIncludeViewFrameType ) : int
pBuffer IVsTextBuffer
guidDocViewType System.Guid
iStartRow int
iStartIndex int
iEndRow int
iEndIndex int
grfIncludeViewFrameType uint
Résultat int

NavigateToPosition2() public méthode

public NavigateToPosition2 ( IVsTextBuffer pBuffer, System.Guid &guidDocViewType, int iPos, int iLen, uint grfIncludeViewFrameType ) : int
pBuffer IVsTextBuffer
guidDocViewType System.Guid
iPos int
iLen int
grfIncludeViewFrameType uint
Résultat int

PrimeExpansionManager() public méthode

public PrimeExpansionManager ( System.Guid &guidLang ) : int
guidLang System.Guid
Résultat int

ResetColorableItems() public méthode

public ResetColorableItems ( System.Guid guidLang ) : int
guidLang System.Guid
Résultat int

SetUserPreferences2() public méthode

public SetUserPreferences2 ( VIEWPREFERENCES2 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES2
pFramePrefs FRAMEPREFERENCES2
pLangPrefs LANGPREFERENCES2
pColorPrefs FONTCOLORPREFERENCES2
Résultat int

SetUserPreferences3() public méthode

public SetUserPreferences3 ( VIEWPREFERENCES3 pViewPrefs, FRAMEPREFERENCES2 pFramePrefs, LANGPREFERENCES2 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES3
pFramePrefs FRAMEPREFERENCES2
pLangPrefs LANGPREFERENCES2
pColorPrefs FONTCOLORPREFERENCES2
Résultat int

SetUserPreferences4() public méthode

public SetUserPreferences4 ( VIEWPREFERENCES3 pViewPrefs, LANGPREFERENCES3 pLangPrefs, FONTCOLORPREFERENCES2 pColorPrefs ) : int
pViewPrefs VIEWPREFERENCES3
pLangPrefs LANGPREFERENCES3
pColorPrefs FONTCOLORPREFERENCES2
Résultat int