C# Класс 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).
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.

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

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

public Equals ( SerializedPropertyInfo other ) : bool
other SerializedPropertyInfo
Результат bool

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

public Equals ( object obj ) : bool
obj object
Результат bool

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

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

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

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. ///
Результат Newtonsoft.Json.Linq