C# Class VSSonarQubeStandalone.Helpers.VsEnvironmentHelper

dummy class
Inheritance: IVsEnvironmentHelper
Mostra file Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension

Public Methods

Method Description
ActiveConfiguration ( ) : string
ActiveFileFullPath ( ) : string
ActivePlatform ( ) : string
ActiveProjectFileFullPath ( ) : string
ActiveProjectName ( ) : string
ActiveSolutionName ( ) : string
ActiveSolutionPath ( ) : string
AreWeRunningInVisualStudio ( ) : bool
ClearDiffFile ( string localFileName, string serverFileName ) : void
CurrentSelectedDocumentLanguage ( ) : string
DoIHaveAdminRights ( ) : bool
EvaluatedValueForIncludeFile ( string msbuildProjectFile, string filePath ) : string
GetCurrentDocumentInView ( ) : string
GetCurrentRoslynSolution ( ) : Microsoft.CodeAnalysis.Solution
GetFileRealPathForSolution ( string fileInView ) : string
GetGuidForProject ( string projectPath, string solutionPath ) : string
GetProjectByGuidInSolution ( string projectGuid, string solutionPath ) : VsProjectItem
GetProjectByNameInSolution ( string projectName, string solutionPath ) : VsProjectItem
GetProperFilePathCapitalization ( string filename ) : string
NavigateToResource ( string url ) : void
OpenResourceInVisualStudio ( string filename, int line, string editorCommandExec = "notepad" ) : void
OpenResourceInVisualStudio ( string workfolder, string filename, int line, string editorCommandExec = "notepad" ) : void
ReadSavedOption ( string category, string page, string item ) : string
RestartVisualStudio ( ) : void
SetCurrentDocumentInView ( string fullName ) : void
ShowSourceDiff ( string resourceInEditorTxt, string documentInViewPath ) : void
VsFileItem ( string filename, Resource associatedProject, Resource fileResource ) : VSSonarPlugins.Types.VsFileItem
VsFileItem ( string fullPath, string projectFullPath, Resource associatedProject, Resource fileResource ) : VSSonarPlugins.Types.VsFileItem
VsProjectItem ( string projectFileName, Resource associatedProject ) : VsProjectItem
WriteDefaultOption ( string sonarOptions, string communityOptions, string item, string value ) : void
WriteOption ( string category, string page, string item, string value ) : void
WriteToVisualStudioOutput ( string errorMessage ) : void

Method Details

ActiveConfiguration() public method

public ActiveConfiguration ( ) : string
return string

ActiveFileFullPath() public method

public ActiveFileFullPath ( ) : string
return string

ActivePlatform() public method

public ActivePlatform ( ) : string
return string

ActiveProjectFileFullPath() public method

public ActiveProjectFileFullPath ( ) : string
return string

ActiveProjectName() public method

public ActiveProjectName ( ) : string
return string

ActiveSolutionName() public method

public ActiveSolutionName ( ) : string
return string

ActiveSolutionPath() public method

public ActiveSolutionPath ( ) : string
return string

AreWeRunningInVisualStudio() public method

public AreWeRunningInVisualStudio ( ) : bool
return bool

ClearDiffFile() public method

public ClearDiffFile ( string localFileName, string serverFileName ) : void
localFileName string
serverFileName string
return void

CurrentSelectedDocumentLanguage() public method

public CurrentSelectedDocumentLanguage ( ) : string
return string

DoIHaveAdminRights() public method

public DoIHaveAdminRights ( ) : bool
return bool

EvaluatedValueForIncludeFile() public method

public EvaluatedValueForIncludeFile ( string msbuildProjectFile, string filePath ) : string
msbuildProjectFile string
filePath string
return string

GetCurrentDocumentInView() public method

public GetCurrentDocumentInView ( ) : string
return string

GetCurrentRoslynSolution() public method

public GetCurrentRoslynSolution ( ) : Microsoft.CodeAnalysis.Solution
return Microsoft.CodeAnalysis.Solution

GetFileRealPathForSolution() public method

public GetFileRealPathForSolution ( string fileInView ) : string
fileInView string
return string

GetGuidForProject() public method

public GetGuidForProject ( string projectPath, string solutionPath ) : string
projectPath string
solutionPath string
return string

GetProjectByGuidInSolution() public method

public GetProjectByGuidInSolution ( string projectGuid, string solutionPath ) : VsProjectItem
projectGuid string
solutionPath string
return VsProjectItem

GetProjectByNameInSolution() public method

public GetProjectByNameInSolution ( string projectName, string solutionPath ) : VsProjectItem
projectName string
solutionPath string
return VsProjectItem

GetProperFilePathCapitalization() public method

public GetProperFilePathCapitalization ( string filename ) : string
filename string
return string

NavigateToResource() public method

public NavigateToResource ( string url ) : void
url string
return void

OpenResourceInVisualStudio() public method

public OpenResourceInVisualStudio ( string filename, int line, string editorCommandExec = "notepad" ) : void
filename string
line int
editorCommandExec string
return void

OpenResourceInVisualStudio() public method

public OpenResourceInVisualStudio ( string workfolder, string filename, int line, string editorCommandExec = "notepad" ) : void
workfolder string
filename string
line int
editorCommandExec string
return void

ReadSavedOption() public method

public ReadSavedOption ( string category, string page, string item ) : string
category string
page string
item string
return string

RestartVisualStudio() public method

public RestartVisualStudio ( ) : void
return void

SetCurrentDocumentInView() public method

public SetCurrentDocumentInView ( string fullName ) : void
fullName string
return void

ShowSourceDiff() public method

public ShowSourceDiff ( string resourceInEditorTxt, string documentInViewPath ) : void
resourceInEditorTxt string
documentInViewPath string
return void

VsFileItem() public method

public VsFileItem ( string filename, Resource associatedProject, Resource fileResource ) : VSSonarPlugins.Types.VsFileItem
filename string
associatedProject VSSonarPlugins.Types.Resource
fileResource VSSonarPlugins.Types.Resource
return VSSonarPlugins.Types.VsFileItem

VsFileItem() public method

public VsFileItem ( string fullPath, string projectFullPath, Resource associatedProject, Resource fileResource ) : VSSonarPlugins.Types.VsFileItem
fullPath string
projectFullPath string
associatedProject VSSonarPlugins.Types.Resource
fileResource VSSonarPlugins.Types.Resource
return VSSonarPlugins.Types.VsFileItem

VsProjectItem() public method

public VsProjectItem ( string projectFileName, Resource associatedProject ) : VsProjectItem
projectFileName string
associatedProject VSSonarPlugins.Types.Resource
return VsProjectItem

WriteDefaultOption() public method

public WriteDefaultOption ( string sonarOptions, string communityOptions, string item, string value ) : void
sonarOptions string
communityOptions string
item string
value string
return void

WriteOption() public method

public WriteOption ( string category, string page, string item, string value ) : void
category string
page string
item string
value string
return void

WriteToVisualStudioOutput() public method

public WriteToVisualStudioOutput ( string errorMessage ) : void
errorMessage string
return void