C# 클래스 Microsoft.CodeAnalysis.Sarif.Converters.SemmleConverter

Converts a log file from the Semmle format to the SARIF format.
상속: ToolFileConverterBase
파일 보기 프로젝트 열기: Microsoft/sarif-sdk

공개 메소드들

메소드 설명
Convert ( Stream input, IResultLogWriter output ) : void

Converts a Semmle log file in CSV format to a SARIF log file.

비공개 메소드들

메소드 설명
AddToolNotification ( string id, NotificationLevel level, string messageFormat ) : void
GetInteger ( string fields, FieldIndex fieldIndex ) : int
GetResultsFromStream ( Stream input ) : System.Result[]
GetString ( string fields, FieldIndex fieldIndex ) : string
MakeRegion ( string fields ) : Region

Create a Region object that contains only those properties required by the SARIF spec.

ParseResult ( ) : System.Result
ResultLevelFromSemmleSeverity ( string semmleSeverity ) : ResultLevel

메소드 상세

Convert() 공개 메소드

Converts a Semmle log file in CSV format to a SARIF log file.
/// Thrown when one or more required arguments are null. ///
public Convert ( Stream input, IResultLogWriter output ) : void
input Stream /// Input stream from which to read the Semmle log. ///
output IResultLogWriter /// Output string to which to write the SARIF log. ///
리턴 void