C# Class Microsoft.CodeAnalysis.Sarif.FileData

Inheritance: PropertyBagHolder, ISarifNode
Exibir arquivo Open project: Microsoft/sarif-sdk Class Usage Examples

Private Properties

Property Type Description
DeepCloneCore ISarifNode
ISarifNode ISarifNode
Init void

Public Methods

Method Description
Create ( Uri uri, bool computeHashes ) : FileData
DeepClone ( ) : FileData

Creates a deep copy of this instance.

FileData ( ) : System

Initializes a new instance of the FileData class.

FileData ( FileData other ) : System

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

FileData ( Uri uri, string uriBaseId, string parentKey, int offset, int length, string mimeType, string contents, IEnumerable hashes, SerializedPropertyInfo>.IDictionary properties ) : System

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

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

Private Methods

Method Description
DeepCloneCore ( ) : ISarifNode
ISarifNode ( ) : ISarifNode
Init ( Uri uri, string uriBaseId, string parentKey, int offset, int length, string mimeType, string contents, IEnumerable hashes, SerializedPropertyInfo>.IDictionary properties ) : void

Method Details

Create() public static method

public static Create ( Uri uri, bool computeHashes ) : FileData
uri System.Uri
computeHashes bool
return FileData

DeepClone() public method

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

FileData() public method

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

FileData() public method

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

FileData() public method

Initializes a new instance of the FileData class from the supplied values.
public FileData ( Uri uri, string uriBaseId, string parentKey, int offset, int length, string mimeType, string contents, IEnumerable hashes, SerializedPropertyInfo>.IDictionary properties ) : System
uri System.Uri /// An initialization value for the property. ///
uriBaseId string /// An initialization value for the property. ///
parentKey string /// An initialization value for the property. ///
offset int /// An initialization value for the property. ///
length int /// An initialization value for the property. ///
mimeType string /// An initialization value for the property. ///
contents string /// An initialization value for the property. ///
hashes IEnumerable /// An initialization value for the property. ///
properties SerializedPropertyInfo>.IDictionary /// An initialization value for the property. ///
return System

ValueEquals() public method

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

ValueGetHashCode() public method

public ValueGetHashCode ( ) : int
return int