C# Class Microsoft.CodeAnalysis.Sarif.Readers.SerializedPropertyInfo

Describes a single entry in a JSON property bag (a JSON object whose keys have arbitrary names and whose values may be any JSON values).
Afficher le fichier Open project: Microsoft/sarif-sdk Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( SerializedPropertyInfo other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
SerializedPropertyInfo ( string serializedValue, bool isString ) : Newtonsoft.Json.Linq

Initializes a new instance of the SerializedPropertyInfo class.

This representation allows properties to be read from JSON into memory and then round-tripped back to JSON, without storing "live" Json.NET objects. Live JSON objects hold references to their parent container, which would consume a lot of memory for objects that are part of a large JSON file.

Method Details

Equals() public méthode

public Equals ( SerializedPropertyInfo other ) : bool
other SerializedPropertyInfo
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

SerializedPropertyInfo() public méthode

Initializes a new instance of the SerializedPropertyInfo class.
This representation allows properties to be read from JSON into memory and then round-tripped back to JSON, without storing "live" Json.NET objects. Live JSON objects hold references to their parent container, which would consume a lot of memory for objects that are part of a large JSON file.
public SerializedPropertyInfo ( string serializedValue, bool isString ) : Newtonsoft.Json.Linq
serializedValue string /// The string representation of the JSON value of the property. ///
isString bool /// true if the property is a string; otherwise false. ///
Résultat Newtonsoft.Json.Linq