C# Class Microsoft.CodeAnalysis.Sarif.Hash

Inheritance: 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 ( ) : Hash

Creates a deep copy of this instance.

Hash ( ) : System

Initializes a new instance of the Hash class.

Hash ( Hash other ) : System

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

Hash ( string value, AlgorithmKind algorithm ) : System

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

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

Private Methods

Method Description
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( string value, AlgorithmKind algorithm ) : void

Method Details

DeepClone() public method

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

Hash() public method

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

Hash() public method

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

Hash() public method

Initializes a new instance of the Hash class from the supplied values.
public Hash ( string value, AlgorithmKind algorithm ) : System
value string /// An initialization value for the property. ///
algorithm AlgorithmKind /// An initialization value for the property. ///
return System

ValueEquals() public method

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

ValueGetHashCode() public method

public ValueGetHashCode ( ) : int
return int