C# 클래스 Microsoft.CodeAnalysis.Sarif.ExtensionMethods

파일 보기 프로젝트 열기: Microsoft/sarif-sdk 1 사용 예제들

공개 메소드들

메소드 설명
FormatForVisualStudio ( this region ) : string
FormatForVisualStudio ( this result, IRule rule ) : string
GetFileName ( this uri ) : string
GetFirstSentence ( string text ) : string
GetMessageText ( this result, IRule rule ) : string
GetMessageText ( this result, IRule rule, bool concise ) : string
Populate ( this region, NewLineIndex newLineIndex ) : void

Completely populate all Region property members. Missing data is computed based on the values that are already present.

메소드 상세

FormatForVisualStudio() 공개 정적인 메소드

public static FormatForVisualStudio ( this region ) : string
region this
리턴 string

FormatForVisualStudio() 공개 정적인 메소드

public static FormatForVisualStudio ( this result, IRule rule ) : string
result this
rule IRule
리턴 string

GetFileName() 공개 정적인 메소드

public static GetFileName ( this uri ) : string
uri this
리턴 string

GetFirstSentence() 공개 정적인 메소드

public static GetFirstSentence ( string text ) : string
text string
리턴 string

GetMessageText() 공개 정적인 메소드

public static GetMessageText ( this result, IRule rule ) : string
result this
rule IRule
리턴 string

GetMessageText() 공개 정적인 메소드

public static GetMessageText ( this result, IRule rule, bool concise ) : string
result this
rule IRule
concise bool
리턴 string

Populate() 공개 정적인 메소드

Completely populate all Region property members. Missing data is computed based on the values that are already present.
public static Populate ( this region, NewLineIndex newLineIndex ) : void
region this
newLineIndex NewLineIndex
리턴 void