C# Класс Newtonsoft.Json.Linq.JConstructor

Represents a JSON constructor.
Наследование: JContainer
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
JConstructor ( ) : System

Initializes a new instance of the JConstructor class.

JConstructor ( JConstructor other ) : System

Initializes a new instance of the JConstructor class from another JConstructor object.

JConstructor ( string name ) : System

Initializes a new instance of the JConstructor class with the specified name and content.

JConstructor ( string name, object content ) : System

Initializes a new instance of the JConstructor class with the specified name and content.

Load ( JsonReader reader ) : JConstructor

Loads an JConstructor from a JsonReader.

WriteTo ( JsonWriter writer ) : void

Writes this token to a JsonWriter.

this ( object key ) : JToken

Gets the JToken with the specified key.

Приватные методы

Метод Описание
CloneToken ( ) : JToken
DeepEquals ( JToken node ) : bool
GetDeepHashCode ( ) : int

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

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

Initializes a new instance of the JConstructor class.
public JConstructor ( ) : System
Результат System

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

Initializes a new instance of the JConstructor class from another JConstructor object.
public JConstructor ( JConstructor other ) : System
other JConstructor A object to copy from.
Результат System

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

Initializes a new instance of the JConstructor class with the specified name and content.
public JConstructor ( string name ) : System
name string The constructor name.
Результат System

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

Initializes a new instance of the JConstructor class with the specified name and content.
public JConstructor ( string name, object content ) : System
name string The constructor name.
content object The contents of the constructor.
Результат System

Load() публичный статический Метод

Loads an JConstructor from a JsonReader.
public static Load ( JsonReader reader ) : JConstructor
reader JsonReader A that will be read for the content of the .
Результат JConstructor

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

Writes this token to a JsonWriter.
public WriteTo ( JsonWriter writer ) : void
writer JsonWriter A into which this method will write.
Результат void

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

Gets the JToken with the specified key.
public this ( object key ) : JToken
key object
Результат JToken