C# Class SonarLint.VisualStudio.Integration.UnitTests.VsUIHierarchyMock

Inheritance: IVsUIHierarchy
Datei anzeigen Open project: SonarSource-VisualStudio/sonarlint-visualstudio

Public Methods

Method Description
AssertNoHierarchyEventSinks ( ) : void
RemoveProperties ( uint itemId ) : void
RemoveProperty ( uint itemId, int propId ) : void
SetProperty ( uint itemId, int propId, object value ) : void
VsUIHierarchyMock ( string filePath ) : Microsoft.VisualStudio
VsUIHierarchyMock ( string filePath, uint itemId ) : Microsoft.VisualStudio

Protected Methods

Method Description
AllocateItemId ( ) : uint
SimulateSccChange ( uint itemId ) : void

Private Methods

Method Description
IVsHierarchy ( ) : int
IVsHierarchy ( IVsHierarchyEvents pEventSink, uint &pdwCookie ) : int
IVsHierarchy ( Microsoft psp ) : int
IVsHierarchy ( int &pfCanClose ) : int
IVsHierarchy ( string pszName, uint &pitemid ) : int
IVsHierarchy ( uint dwCookie ) : int
IVsHierarchy ( uint itemid, System.Guid &iidHierarchyNested, IntPtr &ppHierarchyNested, uint &pitemidNested ) : int
IVsHierarchy ( uint itemid, int propid, System.Guid &pguid ) : int
IVsHierarchy ( uint itemid, int propid, object &pvar ) : int
IVsHierarchy ( uint itemid, string &pbstrName ) : int
IVsUIHierarchy ( ) : int
IVsUIHierarchy ( IVsHierarchyEvents pEventSink, uint &pdwCookie ) : int
IVsUIHierarchy ( Microsoft psp ) : int
IVsUIHierarchy ( int &pfCanClose ) : int
IVsUIHierarchy ( string pszName, uint &pitemid ) : int
IVsUIHierarchy ( uint dwCookie ) : int
IVsUIHierarchy ( uint itemid, System.Guid &iidHierarchyNested, IntPtr &ppHierarchyNested, uint &pitemidNested ) : int
IVsUIHierarchy ( uint itemid, System.Guid &pguidCmdGroup, uint cCmds, OLECMD prgCmds, IntPtr pCmdText ) : int
IVsUIHierarchy ( uint itemid, System.Guid &pguidCmdGroup, uint nCmdID, uint nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut ) : int
IVsUIHierarchy ( uint itemid, int propid, System.Guid &pguid ) : int
IVsUIHierarchy ( uint itemid, int propid, object &pvar ) : int
IVsUIHierarchy ( uint itemid, string &pbstrName ) : int

Method Details

AllocateItemId() protected static method

protected static AllocateItemId ( ) : uint
return uint

AssertNoHierarchyEventSinks() public method

public AssertNoHierarchyEventSinks ( ) : void
return void

RemoveProperties() public method

public RemoveProperties ( uint itemId ) : void
itemId uint
return void

RemoveProperty() public method

public RemoveProperty ( uint itemId, int propId ) : void
itemId uint
propId int
return void

SetProperty() public method

public SetProperty ( uint itemId, int propId, object value ) : void
itemId uint
propId int
value object
return void

SimulateSccChange() protected method

protected SimulateSccChange ( uint itemId ) : void
itemId uint
return void

VsUIHierarchyMock() public method

public VsUIHierarchyMock ( string filePath ) : Microsoft.VisualStudio
filePath string
return Microsoft.VisualStudio

VsUIHierarchyMock() public method

public VsUIHierarchyMock ( string filePath, uint itemId ) : Microsoft.VisualStudio
filePath string
itemId uint
return Microsoft.VisualStudio