Class DotNetSensor

java.lang.Object
org.sonarsource.dotnet.shared.plugins.DotNetSensor
All Implemented Interfaces:
org.sonar.api.scanner.sensor.ProjectSensor

public class DotNetSensor extends Object implements org.sonar.api.scanner.sensor.ProjectSensor
This class is the main sensor for C# and VB.NET which is going to process all Roslyn reports and protobuf contents and then push them to SonarQube.

This sensor is a SQ/SC project sensor. It will execute once at the end. Please note that a "SQ/SC project" is usually the equivalent of an "MSBuild solution".

  • Constructor Details

  • Method Details

    • describe

      public void describe(org.sonar.api.batch.sensor.SensorDescriptor descriptor)
      Specified by:
      describe in interface org.sonar.api.scanner.sensor.ProjectSensor
    • execute

      public void execute(org.sonar.api.batch.sensor.SensorContext context)
      Specified by:
      execute in interface org.sonar.api.scanner.sensor.ProjectSensor