C# Class VisualHg.VisualHgSolution

Exibir arquivo Open project: HexWrench/VisualHG2015 Class Usage Examples

Public Methods

Method Description
FindProject ( string fileName ) : IVsHierarchy
GetChildrenFiles ( IVsHierarchy hierarchy ) : IEnumerable
GetDirectoryName ( IVsHierarchy hierarchy ) : string
GetItemFiles ( IVsHierarchy hierarchy, uint itemId ) : string[]
GetItemFiles ( IVsSccProject2 project, uint itemId ) : string[]
GetProjectFiles ( IVsHierarchy hierarchy ) : string[]
GetProjectFiles ( IVsSccProject2 project ) : string[]
GetSelectedFiles ( bool includeChildren ) : string[]
SearchAnySelectedFileStatusMatches ( HgFileStatus pattern ) : bool
SelectedFileStatusMatches ( HgFileStatus pattern ) : bool

Private Methods

Method Description
AnyChildItemStatusMatches ( VSITEMSELECTION item, HgFileStatus pattern ) : bool
AnySelectedFileStatusMatches ( HgFileStatus pattern, bool includeChildren ) : bool
GetFileNames ( CALPOLESTR array ) : string[]
GetItemFileName ( IVsProject project, uint itemId ) : string
GetItemFileName ( VSITEMSELECTION item ) : string
GetItemFirstChild ( IVsHierarchy hierarchy, uint itemId ) : uint
GetNormalizedFullPath ( string path ) : string
GetProjectFiles ( IVsSccProject2 project, uint itemId ) : string[]
GetProjectItemIds ( IVsHierarchy hierarchy, uint itemId ) : IEnumerable
GetSelectedItem ( IntPtr hierarchyPtr, uint itemId ) : VSITEMSELECTION
GetSelectedItems ( ) : VSITEMSELECTION[]
GetSelectedItems ( IVsMultiItemSelect multiSelect ) : VSITEMSELECTION[]
GetSelectedItemsCount ( IVsMultiItemSelect multiSelect ) : uint
GetSpecialFiles ( IVsSccProject2 project, uint itemId, string fileName ) : string[]
HasSpecialFiles ( CADWORD flags, int i ) : bool
ItemHasChildren ( IVsHierarchy hierarchy, uint itemId ) : bool
ItemIsContainer ( IVsHierarchy hierarchy, uint itemId ) : bool
ItemIsExpandable ( IVsHierarchy hierarchy, uint itemId ) : bool
ItemOrChildrenStatusMatches ( VSITEMSELECTION item, HgFileStatus pattern ) : bool
ItemStatusMatches ( VSITEMSELECTION item, HgFileStatus pattern ) : bool
ItemStatusMatches ( uint itemId, IVsProject project, HgFileStatus pattern ) : bool
ReleasePtr ( IntPtr ptr ) : void
SingleItemSelected ( uint itemId ) : bool
TryGetItemNextId ( IVsHierarchy hierarchy, uint itemId, __VSHPROPID property, uint &nextId ) : bool
TryGetItemNextSibling ( IVsHierarchy hierarchy, uint itemId, uint &siblingItemId ) : bool
TryGetItemProperty ( IVsHierarchy hierarchy, uint itemId, __VSHPROPID property, object &value ) : bool
TryGetItemProperty ( IVsHierarchy hierarchy, uint itemId, __VSHPROPID2 property, object &value ) : bool

Method Details

FindProject() public static method

public static FindProject ( string fileName ) : IVsHierarchy
fileName string
return IVsHierarchy

GetChildrenFiles() public static method

public static GetChildrenFiles ( IVsHierarchy hierarchy ) : IEnumerable
hierarchy IVsHierarchy
return IEnumerable

GetDirectoryName() public static method

public static GetDirectoryName ( IVsHierarchy hierarchy ) : string
hierarchy IVsHierarchy
return string

GetItemFiles() public static method

public static GetItemFiles ( IVsHierarchy hierarchy, uint itemId ) : string[]
hierarchy IVsHierarchy
itemId uint
return string[]

GetItemFiles() public static method

public static GetItemFiles ( IVsSccProject2 project, uint itemId ) : string[]
project IVsSccProject2
itemId uint
return string[]

GetProjectFiles() public static method

public static GetProjectFiles ( IVsHierarchy hierarchy ) : string[]
hierarchy IVsHierarchy
return string[]

GetProjectFiles() public static method

public static GetProjectFiles ( IVsSccProject2 project ) : string[]
project IVsSccProject2
return string[]

GetSelectedFiles() public static method

public static GetSelectedFiles ( bool includeChildren ) : string[]
includeChildren bool
return string[]

SearchAnySelectedFileStatusMatches() public static method

public static SearchAnySelectedFileStatusMatches ( HgFileStatus pattern ) : bool
pattern HgFileStatus
return bool

SelectedFileStatusMatches() public static method

public static SelectedFileStatusMatches ( HgFileStatus pattern ) : bool
pattern HgFileStatus
return bool