C# Class Microsoft.CodeAnalysis.Sarif.ExtensionMethods

Afficher le fichier Open project: Microsoft/sarif-sdk Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

FormatForVisualStudio() public static méthode

public static FormatForVisualStudio ( this region ) : string
region this
Résultat string

FormatForVisualStudio() public static méthode

public static FormatForVisualStudio ( this result, IRule rule ) : string
result this
rule IRule
Résultat string

GetFileName() public static méthode

public static GetFileName ( this uri ) : string
uri this
Résultat string

GetFirstSentence() public static méthode

public static GetFirstSentence ( string text ) : string
text string
Résultat string

GetMessageText() public static méthode

public static GetMessageText ( this result, IRule rule ) : string
result this
rule IRule
Résultat string

GetMessageText() public static méthode

public static GetMessageText ( this result, IRule rule, bool concise ) : string
result this
rule IRule
concise bool
Résultat string

Populate() public static méthode

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
Résultat void