C# 클래스 VSSonarExtensionUi.Test.Association.StandAloneVsHelper

The stand alone vs helper.
상속: IVsEnvironmentHelper
파일 보기 프로젝트 열기: TrimbleSolutionsCorporation/VSSonarQubeExtension 1 사용 예제들

공개 메소드들

메소드 설명
ActiveConfiguration ( ) : string

The active configuration.

ActiveFileFullPath ( ) : string

The active file full path.

ActivePlatform ( ) : string

The active platform.

ActiveProjectFileFullPath ( ) : string

The active project file full path.

ActiveProjectName ( ) : string

The active project name.

ActiveSolutionName ( ) : string

The active solution name.

ActiveSolutionPath ( ) : string

The active solution path.

AreWeRunningInVisualStudio ( ) : bool

The are we running in visual studio.

ClearDiffFile ( string localFileName, string serverFileName ) : void

The clear diff file.

CurrentSelectedDocumentLanguage ( ) : string

The current selected document language.

DoIHaveAdminRights ( ) : bool
EvaluatedValueForIncludeFile ( string msbuildProjectFile, string filePath ) : string
GetCurrentDocumentInView ( ) : string
GetCurrentRoslynSolution ( ) : Microsoft.CodeAnalysis.Solution
GetCurrentTextInView ( ) : string

The get current text in view.

GetFileRealPathForSolution ( string fileInView ) : string

The get file real path for solution.

GetGuidForProject ( string projectPath, string solutionFullPath ) : string

Gets the unique identifier for project.

GetProjectByGuidInSolution ( string projectGuid, string solutionFullPath ) : VsProjectItem
GetProjectByNameInSolution ( string projectName, string solutionFullPath ) : VsProjectItem
GetProperFilePathCapitalization ( string filename ) : string

The get proper file path capitalization.

NavigateToResource ( string url ) : void

The navigate to resource.

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

The open resource in visual studio.

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

The open resource in visual studio.

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

The read saved option.

RestartVisualStudio ( ) : void

The restart visual studio.

SetCurrentDocumentInView ( string fullName ) : void
ShowSourceDiff ( string resourceInEditorTxt, string documentInViewPath ) : void

The show source diff.

VsFileItem ( string filename, Resource associatedProject, Resource projectResource ) : VSSonarPlugins.Types.VsFileItem

The vs project item.

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

The write default option.

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

The write option.

WriteToVisualStudioOutput ( string errorMessage ) : void

The write to visual studio output.

메소드 상세

ActiveConfiguration() 공개 메소드

The active configuration.
public ActiveConfiguration ( ) : string
리턴 string

ActiveFileFullPath() 공개 메소드

The active file full path.
public ActiveFileFullPath ( ) : string
리턴 string

ActivePlatform() 공개 메소드

The active platform.
public ActivePlatform ( ) : string
리턴 string

ActiveProjectFileFullPath() 공개 메소드

The active project file full path.
public ActiveProjectFileFullPath ( ) : string
리턴 string

ActiveProjectName() 공개 메소드

The active project name.
public ActiveProjectName ( ) : string
리턴 string

ActiveSolutionName() 공개 메소드

The active solution name.
public ActiveSolutionName ( ) : string
리턴 string

ActiveSolutionPath() 공개 메소드

The active solution path.
public ActiveSolutionPath ( ) : string
리턴 string

AreWeRunningInVisualStudio() 공개 메소드

The are we running in visual studio.
public AreWeRunningInVisualStudio ( ) : bool
리턴 bool

ClearDiffFile() 공개 메소드

The clear diff file.
public ClearDiffFile ( string localFileName, string serverFileName ) : void
localFileName string The local file name.
serverFileName string The server file name.
리턴 void

CurrentSelectedDocumentLanguage() 공개 메소드

The current selected document language.
public CurrentSelectedDocumentLanguage ( ) : string
리턴 string

DoIHaveAdminRights() 공개 메소드

public DoIHaveAdminRights ( ) : bool
리턴 bool

EvaluatedValueForIncludeFile() 공개 메소드

public EvaluatedValueForIncludeFile ( string msbuildProjectFile, string filePath ) : string
msbuildProjectFile string
filePath string
리턴 string

GetCurrentDocumentInView() 공개 메소드

public GetCurrentDocumentInView ( ) : string
리턴 string

GetCurrentRoslynSolution() 공개 메소드

public GetCurrentRoslynSolution ( ) : Microsoft.CodeAnalysis.Solution
리턴 Microsoft.CodeAnalysis.Solution

GetCurrentTextInView() 공개 메소드

The get current text in view.
public GetCurrentTextInView ( ) : string
리턴 string

GetFileRealPathForSolution() 공개 메소드

The get file real path for solution.
public GetFileRealPathForSolution ( string fileInView ) : string
fileInView string The file in view.
리턴 string

GetGuidForProject() 공개 메소드

Gets the unique identifier for project.
public GetGuidForProject ( string projectPath, string solutionFullPath ) : string
projectPath string The project path.
solutionFullPath string
리턴 string

GetProjectByGuidInSolution() 공개 메소드

public GetProjectByGuidInSolution ( string projectGuid, string solutionFullPath ) : VsProjectItem
projectGuid string
solutionFullPath string
리턴 VsProjectItem

GetProjectByNameInSolution() 공개 메소드

public GetProjectByNameInSolution ( string projectName, string solutionFullPath ) : VsProjectItem
projectName string
solutionFullPath string
리턴 VsProjectItem

GetProperFilePathCapitalization() 공개 메소드

The get proper file path capitalization.
public GetProperFilePathCapitalization ( string filename ) : string
filename string The filename.
리턴 string

NavigateToResource() 공개 메소드

The navigate to resource.
public NavigateToResource ( string url ) : void
url string The url.
리턴 void

OpenResourceInVisualStudio() 공개 메소드

The open resource in visual studio.
public OpenResourceInVisualStudio ( string filename, int line, string editorCommandExec = "notepad" ) : void
filename string The filename.
line int The line.
editorCommandExec string The editor command exec.
리턴 void

OpenResourceInVisualStudio() 공개 메소드

The open resource in visual studio.
public OpenResourceInVisualStudio ( string workfolder, string filename, int line, string editorCommandExec = "notepad" ) : void
workfolder string The workfolder.
filename string The filename.
line int The line.
editorCommandExec string The editor command exec.
리턴 void

ReadSavedOption() 공개 메소드

The read saved option.
public ReadSavedOption ( string category, string page, string item ) : string
category string The category.
page string The page.
item string The item.
리턴 string

RestartVisualStudio() 공개 메소드

The restart visual studio.
public RestartVisualStudio ( ) : void
리턴 void

SetCurrentDocumentInView() 공개 메소드

public SetCurrentDocumentInView ( string fullName ) : void
fullName string
리턴 void

ShowSourceDiff() 공개 메소드

The show source diff.
public ShowSourceDiff ( string resourceInEditorTxt, string documentInViewPath ) : void
resourceInEditorTxt string The resource in editor txt.
documentInViewPath string The document in view path.
리턴 void

VsFileItem() 공개 메소드

The vs project item.
public VsFileItem ( string filename, Resource associatedProject, Resource projectResource ) : VSSonarPlugins.Types.VsFileItem
filename string The filename.
associatedProject VSSonarPlugins.Types.Resource
projectResource VSSonarPlugins.Types.Resource
리턴 VSSonarPlugins.Types.VsFileItem

VsFileItem() 공개 메소드

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
리턴 VSSonarPlugins.Types.VsFileItem

VsProjectItem() 공개 메소드

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

WriteDefaultOption() 공개 메소드

The write default option.
public WriteDefaultOption ( string sonarOptions, string communityOptions, string item, string value ) : void
sonarOptions string The sonar options.
communityOptions string The community options.
item string The item.
value string The value.
리턴 void

WriteOption() 공개 메소드

The write option.
public WriteOption ( string category, string page, string item, string value ) : void
category string The category.
page string The page.
item string The item.
value string The value.
리턴 void

WriteToVisualStudioOutput() 공개 메소드

The write to visual studio output.
public WriteToVisualStudioOutput ( string errorMessage ) : void
errorMessage string The error message.
리턴 void