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

Наследование: PropertyBagHolder, ISarifNode
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
DeepCloneCore ISarifNode
ISarifNode ISarifNode
Init void

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

Метод Описание
DeepClone ( ) : Result

Creates a deep copy of this instance.

Result ( ) : System

Initializes a new instance of the Result class.

Result ( Result other ) : System

Initializes a new instance of the Result class from the specified instance.

Result ( string ruleId, string ruleKey, ResultLevel level, string message, FormattedRuleMessage formattedRuleMessage, IEnumerable locations, string snippet, string id, string toolFingerprintContribution, IEnumerable stacks, IEnumerable codeFlows, IEnumerable relatedLocations, SuppressionStates suppressionStates, BaselineState baselineState, IEnumerable fixes, SerializedPropertyInfo>.IDictionary properties ) : System

Initializes a new instance of the Result class from the supplied values.

ValueEquals ( Result other ) : bool
ValueGetHashCode ( ) : int

Приватные методы

Метод Описание
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( string ruleId, string ruleKey, ResultLevel level, string message, FormattedRuleMessage formattedRuleMessage, IEnumerable locations, string snippet, string id, string toolFingerprintContribution, IEnumerable stacks, IEnumerable codeFlows, IEnumerable relatedLocations, SuppressionStates suppressionStates, BaselineState baselineState, IEnumerable fixes, SerializedPropertyInfo>.IDictionary properties ) : void

Описание методов

DeepClone() публичный Метод

Creates a deep copy of this instance.
public DeepClone ( ) : Result
Результат Result

Result() публичный Метод

Initializes a new instance of the Result class.
public Result ( ) : System
Результат System

Result() публичный Метод

Initializes a new instance of the Result class from the specified instance.
/// Thrown if is null. ///
public Result ( Result other ) : System
other Result /// The instance from which the new instance is to be initialized. ///
Результат System

Result() публичный Метод

Initializes a new instance of the Result class from the supplied values.
public Result ( string ruleId, string ruleKey, ResultLevel level, string message, FormattedRuleMessage formattedRuleMessage, IEnumerable locations, string snippet, string id, string toolFingerprintContribution, IEnumerable stacks, IEnumerable codeFlows, IEnumerable relatedLocations, SuppressionStates suppressionStates, BaselineState baselineState, IEnumerable fixes, SerializedPropertyInfo>.IDictionary properties ) : System
ruleId string /// An initialization value for the property. ///
ruleKey string /// An initialization value for the property. ///
level ResultLevel /// An initialization value for the property. ///
message string /// An initialization value for the property. ///
formattedRuleMessage FormattedRuleMessage /// An initialization value for the property. ///
locations IEnumerable /// An initialization value for the property. ///
snippet string /// An initialization value for the property. ///
id string /// An initialization value for the property. ///
toolFingerprintContribution string /// An initialization value for the property. ///
stacks IEnumerable /// An initialization value for the property. ///
codeFlows IEnumerable /// An initialization value for the property. ///
relatedLocations IEnumerable /// An initialization value for the property. ///
suppressionStates SuppressionStates /// An initialization value for the property. ///
baselineState BaselineState /// An initialization value for the property. ///
fixes IEnumerable /// An initialization value for the property. ///
properties SerializedPropertyInfo>.IDictionary /// An initialization value for the property. ///
Результат System

ValueEquals() публичный Метод

public ValueEquals ( Result other ) : bool
other Result
Результат bool

ValueGetHashCode() публичный Метод

public ValueGetHashCode ( ) : int
Результат int