C# Class GitSccProvider.Utilities.SolutionExtensions

Mostrar archivo Open project: jzoss/Git-Source-Control-Provider Class Usage Examples

Public Properties

Property Type Description
GuidSolutionFolderProject System.Guid

Public Methods

Method Description
CanAddSelectedProjectToGitRepoitory ( ) : bool
GetActiveIDE ( ) : DTE2
GetActiveSolution ( ) : Task
GetIVsHierarchy ( Project project ) : Task
GetLoadedControllableProjects ( ) : Task>
GetProjectFileName ( IVsHierarchy hierHierarchy ) : Task
GetProjectFiles ( EnvDTE project ) : IList
GetProjectFiles ( IVsSccProject2 pscp2Project ) : Task>

Gets the list of source controllable files in the specified project

GetProjectFiles ( IVsSccProject2 pscp2Project, uint startItemId ) : Task>

Gets the list of source controllable files in the specified project

GetProjectItems ( IVsHierarchy pHier, uint startItemid ) : Task>
GetSelectedProject ( ) : Project
GetSelectedProjectHierarchy ( ) : IVsHierarchy
GetSolutionFileName ( ) : Task
IsProjectInGit ( string filename ) : bool
IsProjectInGitRepoitory ( IVsSccProject2 project ) : Task
IsSolutionFolderProject ( this pHier ) : Task

Checks whether the specified project is a solution folder

WriteMessageToOutputPane ( string message, string title = "GIT Source Control" ) : void

Private Methods

Method Description
FindFilesInProject ( ProjectItems items, IList projectFiles ) : void
GetCaseSensitiveFileName ( string fileName ) : string
GetLongPathName ( string shortpath, StringBuilder sb, int buffer ) : uint
GetNodeFiles ( IVsSccProject2 pscp2, uint itemid ) : Task>

Returns a list of source controllable files associated with the specified node

GetShortPathName ( string longpath, StringBuilder sb, int buffer ) : uint
GetSolutionFolderProjects ( Project solutionFolder ) : IEnumerable

Method Details

CanAddSelectedProjectToGitRepoitory() public static method

public static CanAddSelectedProjectToGitRepoitory ( ) : bool
return bool

GetActiveIDE() public static method

public static GetActiveIDE ( ) : DTE2
return DTE2

GetActiveSolution() public static method

public static GetActiveSolution ( ) : Task
return Task

GetIVsHierarchy() public static method

public static GetIVsHierarchy ( Project project ) : Task
project Project
return Task

GetLoadedControllableProjects() public static method

public static GetLoadedControllableProjects ( ) : Task>
return Task>

GetProjectFileName() public static method

public static GetProjectFileName ( IVsHierarchy hierHierarchy ) : Task
hierHierarchy IVsHierarchy
return Task

GetProjectFiles() public static method

public static GetProjectFiles ( EnvDTE project ) : IList
project EnvDTE
return IList

GetProjectFiles() public static method

Gets the list of source controllable files in the specified project
public static GetProjectFiles ( IVsSccProject2 pscp2Project ) : Task>
pscp2Project IVsSccProject2
return Task>

GetProjectFiles() public static method

Gets the list of source controllable files in the specified project
public static GetProjectFiles ( IVsSccProject2 pscp2Project, uint startItemId ) : Task>
pscp2Project IVsSccProject2
startItemId uint
return Task>

GetProjectItems() public static method

public static GetProjectItems ( IVsHierarchy pHier, uint startItemid ) : Task>
pHier IVsHierarchy
startItemid uint
return Task>

GetSelectedProject() public static method

public static GetSelectedProject ( ) : Project
return Project

GetSelectedProjectHierarchy() public static method

public static GetSelectedProjectHierarchy ( ) : IVsHierarchy
return IVsHierarchy

GetSolutionFileName() public static method

public static GetSolutionFileName ( ) : Task
return Task

IsProjectInGit() public static method

public static IsProjectInGit ( string filename ) : bool
filename string
return bool

IsProjectInGitRepoitory() public static method

public static IsProjectInGitRepoitory ( IVsSccProject2 project ) : Task
project IVsSccProject2
return Task

IsSolutionFolderProject() public static method

Checks whether the specified project is a solution folder
public static IsSolutionFolderProject ( this pHier ) : Task
pHier this
return Task

WriteMessageToOutputPane() public static method

public static WriteMessageToOutputPane ( string message, string title = "GIT Source Control" ) : void
message string
title string
return void

Property Details

GuidSolutionFolderProject public_oe static_oe property

public static Guid,System GuidSolutionFolderProject
return System.Guid