C# Класс Microsoft.CodeAnalysis.Sarif.ExtensionMethods

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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