VSSonarExtensionUi.ViewModel.Configuration.VSonarQubeOptionsViewModel.InitPuginSystem C# (CSharp) Method

InitPuginSystem() public method

The init plugin system.
public InitPuginSystem ( IVsEnvironmentHelper helper, VSSonarPlugins.PluginController plugincontroller, INotificationManager manager ) : void
helper IVsEnvironmentHelper The helper.
plugincontroller VSSonarPlugins.PluginController The plugin controller.
manager INotificationManager The manager.
return void
        public void InitPuginSystem(IVsEnvironmentHelper helper, PluginController plugincontroller, INotificationManager manager)
        {
            this.PluginManager = new PluginManagerModel(
                plugincontroller,
                this.configurationHelper,
                manager,
                helper);

            this.RoslynModel = new RoslynManagerModel(this.PluginManager.AnalysisPlugins, manager, this.configurationHelper, this.restService);
            this.RoslynViewModel = new RoslynManagerViewModel(this.RoslynModel);

            this.AvailableOptionsViews.Add(this.PluginManager);
            this.AvailableOptionsViews.Add(this.RoslynViewModel);

            this.AvailableOptionsModels.Add(this.PluginManager);
            this.AvailableOptionsModels.Add(this.RoslynModel);

            // sync checks to plugins
            this.RoslynModel.SyncDiagnosticsInPlugins();
        }