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

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

Private Properties

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

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

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

Creates a deep copy of this instance.

Rule ( ) : System

Initializes a new instance of the Rule class.

Rule ( Rule other ) : System

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

Rule ( string id, string name, string shortDescription, string fullDescription, string>.IDictionary messageFormats, RuleConfiguration configuration, ResultLevel defaultLevel, Uri helpUri, SerializedPropertyInfo>.IDictionary properties ) : System

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

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

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

Метод Описание
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( string id, string name, string shortDescription, string fullDescription, string>.IDictionary messageFormats, RuleConfiguration configuration, ResultLevel defaultLevel, Uri helpUri, SerializedPropertyInfo>.IDictionary properties ) : void

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

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

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

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

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

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

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

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

Initializes a new instance of the Rule class from the supplied values.
public Rule ( string id, string name, string shortDescription, string fullDescription, string>.IDictionary messageFormats, RuleConfiguration configuration, ResultLevel defaultLevel, Uri helpUri, SerializedPropertyInfo>.IDictionary properties ) : System
id string /// An initialization value for the property. ///
name string /// An initialization value for the property. ///
shortDescription string /// An initialization value for the property. ///
fullDescription string /// An initialization value for the property. ///
messageFormats string>.IDictionary /// An initialization value for the property. ///
configuration RuleConfiguration /// An initialization value for the property. ///
defaultLevel ResultLevel /// An initialization value for the property. ///
helpUri System.Uri /// An initialization value for the property. ///
properties SerializedPropertyInfo>.IDictionary /// An initialization value for the property. ///
Результат System

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

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

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

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