C# 클래스 SonarQube.Plugins.Roslyn.DiagnosticAssemblyScanner

Searches for and instantiates Roslyn analyzers in unknown folders and/or assemblies.
파일 보기 프로젝트 열기: SonarSource-VisualStudio/sonarqube-roslyn-sdk 1 사용 예제들

공개 메소드들

메소드 설명
DiagnosticAssemblyScanner ( ILogger logger ) : System
InstantiateDiagnostics ( string language ) : IEnumerable

Loads all of the given assemblies and instantiates Roslyn diagnostic objects - i.e. existing types deriving from DiagnosticAnalyzer. Non-assembly files will be ignored.

비공개 메소드들

메소드 설명
DiagnosticMatchesLanguage ( Type type, string language ) : bool
InstantiateDiagnosticAnalyzers ( Assembly analyserAssembly, string language ) : IEnumerable
InstantiateDiagnosticsFromAssembly ( string assemblyPath, string language ) : IEnumerable

Loads the given assembly and instantiates Roslyn diagnostic objects - i.e. existing types deriving from DiagnosticAnalyzer

LoadAnalyzerAssembly ( string assemblyPath ) : Assembly

Load the assembly at the given path into memory, with the given additional assembly search directories.

메소드 상세

DiagnosticAssemblyScanner() 공개 메소드

public DiagnosticAssemblyScanner ( ILogger logger ) : System
logger ILogger
리턴 System

InstantiateDiagnostics() 공개 메소드

Loads all of the given assemblies and instantiates Roslyn diagnostic objects - i.e. existing types deriving from DiagnosticAnalyzer. Non-assembly files will be ignored.
public InstantiateDiagnostics ( string language ) : IEnumerable
language string
리턴 IEnumerable