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).
파일 보기 프로젝트 열기: Microsoft/sarif-sdk 1 사용 예제들

공개 메소드들

메소드 설명
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