C# Class Microsoft.CodeAnalysis.Sarif.Notification

Inheritance: PropertyBagHolder, ISarifNode
Show file Open project: Microsoft/sarif-sdk Class Usage Examples

Private Properties

Property Type Description
DeepCloneCore ISarifNode
ISarifNode ISarifNode
Init void

Public Methods

Method Description
DeepClone ( ) : Notification

Creates a deep copy of this instance.

Notification ( ) : System

Initializes a new instance of the Notification class.

Notification ( Notification other ) : System

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

Notification ( string id, string ruleId, string ruleKey, PhysicalLocation physicalLocation, string message, NotificationLevel level, int threadId, System.DateTime time, ExceptionData exception, SerializedPropertyInfo>.IDictionary properties ) : System

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

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

Private Methods

Method Description
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( string id, string ruleId, string ruleKey, PhysicalLocation physicalLocation, string message, NotificationLevel level, int threadId, System.DateTime time, ExceptionData exception, SerializedPropertyInfo>.IDictionary properties ) : void

Method Details

DeepClone() public method

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

Notification() public method

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

Notification() public method

Initializes a new instance of the Notification class from the specified instance.
/// Thrown if is null. ///
public Notification ( Notification other ) : System
other Notification /// The instance from which the new instance is to be initialized. ///
return System

Notification() public method

Initializes a new instance of the Notification class from the supplied values.
public Notification ( string id, string ruleId, string ruleKey, PhysicalLocation physicalLocation, string message, NotificationLevel level, int threadId, System.DateTime time, ExceptionData exception, SerializedPropertyInfo>.IDictionary properties ) : System
id string /// An initialization value for the property. ///
ruleId string /// An initialization value for the property. ///
ruleKey string /// An initialization value for the property. ///
physicalLocation PhysicalLocation /// An initialization value for the property. ///
message string /// An initialization value for the property. ///
level NotificationLevel /// An initialization value for the property. ///
threadId int /// An initialization value for the property. ///
time System.DateTime /// An initialization value for the property. ///
exception ExceptionData /// An initialization value for the property. ///
properties SerializedPropertyInfo>.IDictionary /// An initialization value for the property. ///
return System

ValueEquals() public method

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

ValueGetHashCode() public method

public ValueGetHashCode ( ) : int
return int