Constructors
- JConstructor() Initializes a new instance of the JConstructor class.
- JConstructor(JConstructor) Initializes a new instance of the JConstructor class from another JConstructor object.
- JConstructor(String) Initializes a new instance of the JConstructor class with the specified name.
-
JConstructor(String,
Object) Initializes a new instance of the JConstructor class with the specified name and content. -
JConstructor(String,
Object[]) Initializes a new instance of the JConstructor class with the specified name and content.
Methods
-
Load(Json
Reader) static Loads a JConstructor from a JsonReader. -
Load(Json
Reader, static Loads a JConstructor from a JsonReader.Json Load Settings) -
Load
Async(Json static Asynchronously loads a JConstructor from a JsonReader.Reader, Cancellation Token) -
Load
Async(Json static Asynchronously loads a JConstructor from a JsonReader.Reader, Json Load Settings, Cancellation Token) -
Write
To(Json virtual Writes this token to a JsonWriter.Writer, Json Converter[]) -
Write
To virtual Writes this token to a JsonWriter asynchronously.Async(Json Writer, Cancellation Token, Json Converter[])
Properties
-
Children
Tokens protectedvirtual Gets the container's children tokens. - Item virtual
- Name Gets or sets the name of this constructor.
- Type virtual Gets the node type for this JToken.