C# Class VSSonarExtensionUi.Model.PluginManager.PluginController

The local analyser.
Inheritance: IPluginController
Exibir arquivo Open project: TrimbleSolutionsCorporation/VSSonarQubeExtension

Public Properties

Property Type Description
Tempinstallfolder string

Public Methods

Method Description
CurrentDomainAssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly

The current domain_ assembly resolve.

DeployPlugin ( string fileName ) : List
GetErrorData ( ) : string

The get error data.

IstallNewPlugin ( string fileName, ISonarConfiguration conf, IConfigurationHelper helper, INotificationManager manager, IVsEnvironmentHelper vshelper ) : IPlugin
LoadPlugin ( Assembly assembly, INotificationManager manager, IConfigurationHelper helper, IVsEnvironmentHelper vshelper, ISonarConfiguration userConfig ) : IPlugin

Loads the plugin.

LoadPlugin ( string assemblies, string basePath, ISonarConfiguration conf, IConfigurationHelper helper, INotificationManager manager, IVsEnvironmentHelper vshelper ) : IPlugin

The load plugin using dedicated domain.

LoadPluginsFromPluginFolder ( INotificationManager manager, IConfigurationHelper helper, IVsEnvironmentHelper vshelper, IEnumerable files ) : List
PickPluginFromMultipleSupportedPlugins ( ReadOnlyCollection pluginsToUse ) : IAnalysisPlugin

The pick plugin from multiple supported plugins.

PluginController ( ) : System

Initializes a new instance of the PluginController class.

RemovePlugin ( IPlugin selectedPlugin, IList installedPlugins ) : bool

The remove plugin.

Private Methods

Method Description
GetAssembliesInTempFolder ( ) : List

The get assemblies in temp folder.

IsReferencedByOtherPlugins ( IPlugin selectedPlugin, IList installedPlugins, string path ) : bool
LoadAllAssembliesFromExtensionFolder ( ) : void

The load all assemblies from extension folder.

UnzipFiles ( string fileName, string folderToInstall ) : List

The unzip files.

Method Details

CurrentDomainAssemblyResolve() public method

The current domain_ assembly resolve.
public CurrentDomainAssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly
sender object /// The sender. ///
args System.ResolveEventArgs /// The args. ///
return System.Reflection.Assembly

DeployPlugin() public method

public DeployPlugin ( string fileName ) : List
fileName string
return List

GetErrorData() public method

The get error data.
public GetErrorData ( ) : string
return string

IstallNewPlugin() public method

public IstallNewPlugin ( string fileName, ISonarConfiguration conf, IConfigurationHelper helper, INotificationManager manager, IVsEnvironmentHelper vshelper ) : IPlugin
fileName string
conf ISonarConfiguration
helper IConfigurationHelper
manager INotificationManager
vshelper IVsEnvironmentHelper
return IPlugin

LoadPlugin() public method

Loads the plugin.
public LoadPlugin ( Assembly assembly, INotificationManager manager, IConfigurationHelper helper, IVsEnvironmentHelper vshelper, ISonarConfiguration userConfig ) : IPlugin
assembly System.Reflection.Assembly The assembly.
manager INotificationManager The manager.
helper IConfigurationHelper The helper.
vshelper IVsEnvironmentHelper The vshelper.
userConfig ISonarConfiguration The user configuration.
return IPlugin

LoadPlugin() public method

The load plugin using dedicated domain.
public LoadPlugin ( string assemblies, string basePath, ISonarConfiguration conf, IConfigurationHelper helper, INotificationManager manager, IVsEnvironmentHelper vshelper ) : IPlugin
assemblies string /// The assemblies. ///
basePath string /// The base path. ///
conf ISonarConfiguration /// The conf. ///
helper IConfigurationHelper
manager INotificationManager
vshelper IVsEnvironmentHelper
return IPlugin

LoadPluginsFromPluginFolder() public method

public LoadPluginsFromPluginFolder ( INotificationManager manager, IConfigurationHelper helper, IVsEnvironmentHelper vshelper, IEnumerable files ) : List
manager INotificationManager
helper IConfigurationHelper
vshelper IVsEnvironmentHelper
files IEnumerable
return List

PickPluginFromMultipleSupportedPlugins() public method

The pick plugin from multiple supported plugins.
public PickPluginFromMultipleSupportedPlugins ( ReadOnlyCollection pluginsToUse ) : IAnalysisPlugin
pluginsToUse ReadOnlyCollection /// The plugins to use. ///
return IAnalysisPlugin

PluginController() public method

Initializes a new instance of the PluginController class.
public PluginController ( ) : System
return System

RemovePlugin() public method

The remove plugin.
public RemovePlugin ( IPlugin selectedPlugin, IList installedPlugins ) : bool
selectedPlugin IPlugin /// The selected plugin. ///
installedPlugins IList
return bool

Property Details

Tempinstallfolder public_oe static_oe property

The tempinstallfolder.
public static string Tempinstallfolder
return string