C# 클래스 VSSonarExtensionUi.Model.Configuration.RoslynManagerModel

Roslyn manager model
상속: IOptionsModelBase
파일 보기 프로젝트 열기: TrimbleSolutionsCorporation/VSSonarQubeExtension 1 사용 예제들

공개 메소드들

메소드 설명
AddNewRoslynPack ( string dllPath, bool updateProps ) : bool

Adds the new roslyn pack.

AssociateWithNewProject ( Resource project, string workDir, ISourceControlProvider sourceModelIn, Profile>.Dictionary profile, string visualStudioVersion ) : void

Associates the with new project.

AutoDetectInstalledAnalysers ( ) : string

Automatics the detect installed analyzers.

GetViewModel ( ) : object

Gets the view model.

InitializedServerDiagnostics ( ISonarConfiguration authentication ) : void

Initializes the installed diagnostics.

OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin issuePlugin ) : void

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnSolutionClosed ( ) : void

The end data association.

ReloadDataFromDisk ( Resource associatedProjectIn ) : void

Reloads the data from disk.

RoslynManagerModel ( IEnumerable pluginsIn, INotificationManager notificationManagerIn, IConfigurationHelper configHelper, ISonarRestService rest ) : System

Initializes a new instance of the RoslynManagerModel class.

SaveData ( ) : void

Saves the data.

SyncDiagnosticsInPlugins ( ) : void

Synchronizes the diagnostics in plugins.

UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider provider ) : void

Updates the services.

VerifyExistenceOfRoslynPlugin ( ) : bool

Verifies the existence of roslyn plugin.

비공개 메소드들

메소드 설명
CombineDiagnostics ( ) : List

Combines the diagnostics.

CreateRule ( string language, Microsoft.CodeAnalysis.DiagnosticDescriptor diag ) : void
GetLanguage ( string lang ) : string
GetRuleFromProfile ( string lang, string id ) : Rule
LoadDiagnosticsFromPath ( string folderPath, bool syncInServer ) : void
RemoveDllFromList ( VSSonarExtensionDiagnostic selectedDllDiagnostic ) : void

Removes the DLL from list.

SyncDiagnosticInServer ( VSSonarExtensionDiagnostic diagnostic ) : void

Synchronizes the diagnostic in server.

SyncSettings ( ) : void

Synchronizes the settings.

메소드 상세

AddNewRoslynPack() 공개 메소드

Adds the new roslyn pack.
public AddNewRoslynPack ( string dllPath, bool updateProps ) : bool
dllPath string The DLL path.
updateProps bool
리턴 bool

AssociateWithNewProject() 공개 메소드

Associates the with new project.
public AssociateWithNewProject ( Resource project, string workDir, ISourceControlProvider sourceModelIn, Profile>.Dictionary profile, string visualStudioVersion ) : void
project Resource The project.
workDir string The work directory.
sourceModelIn ISourceControlProvider The source model in.
profile Profile>.Dictionary
visualStudioVersion string
리턴 void

AutoDetectInstalledAnalysers() 공개 메소드

Automatics the detect installed analyzers.
public AutoDetectInstalledAnalysers ( ) : string
리턴 string

GetViewModel() 공개 메소드

Gets the view model.
public GetViewModel ( ) : object
리턴 object

InitializedServerDiagnostics() 공개 메소드

Initializes the installed diagnostics.
public InitializedServerDiagnostics ( ISonarConfiguration authentication ) : void
authentication ISonarConfiguration
리턴 void

OnConnectToSonar() 공개 메소드

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin issuePlugin ) : void
configuration ISonarConfiguration sonar configuration
availableProjects IEnumerable
issuePlugin IIssueTrackerPlugin
리턴 void

OnDisconnect() 공개 메소드

Called when [disconnect].
public OnDisconnect ( ) : void
리턴 void

OnSolutionClosed() 공개 메소드

The end data association.
public OnSolutionClosed ( ) : void
리턴 void

ReloadDataFromDisk() 공개 메소드

Reloads the data from disk.
public ReloadDataFromDisk ( Resource associatedProjectIn ) : void
associatedProjectIn Resource The associated project in.
리턴 void

RoslynManagerModel() 공개 메소드

Initializes a new instance of the RoslynManagerModel class.
public RoslynManagerModel ( IEnumerable pluginsIn, INotificationManager notificationManagerIn, IConfigurationHelper configHelper, ISonarRestService rest ) : System
pluginsIn IEnumerable The plugins in.
notificationManagerIn INotificationManager The notification manager in.
configHelper IConfigurationHelper The configuration helper.
rest ISonarRestService
리턴 System

SaveData() 공개 메소드

Saves the data.
public SaveData ( ) : void
리턴 void

SyncDiagnosticsInPlugins() 공개 메소드

Synchronizes the diagnostics in plugins.
public SyncDiagnosticsInPlugins ( ) : void
리턴 void

UpdateServices() 공개 메소드

Updates the services.
public UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider provider ) : void
vsenvironmenthelperIn IVsEnvironmentHelper The vs environment helper in.
statusBar IVSSStatusBar The status bar.
provider IServiceProvider The provider.
리턴 void

VerifyExistenceOfRoslynPlugin() 공개 메소드

Verifies the existence of roslyn plugin.
public VerifyExistenceOfRoslynPlugin ( ) : bool
리턴 bool