C# Class Microsoft.CodeAnalysis.Sarif.Result

Inheritance: PropertyBagHolder, ISarifNode
显示文件 Open project: Microsoft/sarif-sdk Class Usage Examples

Private Properties

Property Type Description
DeepCloneCore ISarifNode
ISarifNode ISarifNode
Init void

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

DeepClone() public method

Creates a deep copy of this instance.
public DeepClone ( ) : Result
return Result

Result() public method

Initializes a new instance of the Result class.
public Result ( ) : System
return System

Result() public method

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. ///
return System

Result() public method

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. ///
return System

ValueEquals() public method

public ValueEquals ( Result other ) : bool
other Result
return bool

ValueGetHashCode() public method

public ValueGetHashCode ( ) : int
return int