Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SQGitPlugin"/> class.
 /// </summary>
 public SQGitPlugin(INotificationManager notificationManager, IVSSonarQubeCmdExecutor executor)
 {
     this.executor                = executor;
     this.UseCommandLine          = true;
     this.notificationManager     = notificationManager;
     this.descrition              = new PluginDescription();
     this.descrition.Description  = "Git Source Code Provider";
     this.descrition.Enabled      = true;
     this.descrition.Name         = "Git Plugin";
     this.descrition.Version      = Assembly.GetExecutingAssembly().GetName().Version.ToString();
     this.descrition.AssemblyPath = Assembly.GetExecutingAssembly().Location;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SQGitPlugin" /> class.
 /// </summary>
 /// <param name="notificationManager">The notification manager.</param>
 public SQGitPlugin(INotificationManager notificationManager)
 {
     this.executor = new VSSonarQubeCmdExecutor(6000);
     this.UseCommandLine = true;
     this.notificationManager = notificationManager;
     this.descrition = new PluginDescription();
     this.descrition.Description = "Git Source Code Provider";
     this.descrition.Enabled = true;
     this.descrition.Name = "Git Plugin";
     this.descrition.Version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
     this.descrition.AssemblyPath = Assembly.GetExecutingAssembly().Location;
 }