Class JConstructor
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Newtonsoft.Json.dll
Syntax
public class JConstructor : Newtonsoft.Json.Linq.JContainer
Constructors
JConstructor()
Declaration
public JConstructor ();
JConstructor(JConstructor)
Declaration
public JConstructor (Newtonsoft.Json.Linq.JConstructor other);
Parameters
JConstructor
other
|
JConstructor(String)
JConstructor(String, Object)
Declaration
public JConstructor (string name, object content);
Parameters
String
name
|
Object
content
|
JConstructor(String, Object[])
Declaration
public JConstructor (string name, params object[] content);
Parameters
String
name
|
Object[]
content
|
Properties
ChildrenTokens
Declaration
protected override System.Collections.Generic.IList<Newtonsoft.Json.Linq.JToken> ChildrenTokens { get; }
Property Value
IList<JToken>
|
Item[Object]
Declaration
public override Newtonsoft.Json.Linq.JToken this[object key] { get; set; }
Parameters
Object
key
|
Property Value
JToken
|
Name
Type
Methods
Load(JsonReader)
Declaration
public static Newtonsoft.Json.Linq.JConstructor Load (Newtonsoft.Json.JsonReader reader);
Parameters
JsonReader
reader
|
Returns
JConstructor
|
Load(JsonReader, JsonLoadSettings)
Declaration
public static Newtonsoft.Json.Linq.JConstructor Load (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings);
Parameters
JsonReader
reader
|
JsonLoadSettings
settings
|
Returns
JConstructor
|
LoadAsync(JsonReader, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JConstructor> LoadAsync (Newtonsoft.Json.JsonReader reader, System.Threading.CancellationToken cancellationToken = null);
Parameters
JsonReader
reader
|
CancellationToken
cancellationToken
|
Returns
Task<JConstructor>
|
LoadAsync(JsonReader, JsonLoadSettings, CancellationToken)
Declaration
public static System.Threading.Tasks.Task<Newtonsoft.Json.Linq.JConstructor> LoadAsync (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings, System.Threading.CancellationToken cancellationToken = null);
Parameters
JsonReader
reader
|
JsonLoadSettings
settings
|
CancellationToken
cancellationToken
|
Returns
Task<JConstructor>
|
WriteTo(JsonWriter, JsonConverter[])
Declaration
public override void WriteTo (Newtonsoft.Json.JsonWriter writer, params Newtonsoft.Json.JsonConverter[] converters);
Parameters
JsonWriter
writer
|
JsonConverter[]
converters
|
WriteToAsync(JsonWriter, CancellationToken, JsonConverter[])
Declaration
public override System.Threading.Tasks.Task WriteToAsync (Newtonsoft.Json.JsonWriter writer, System.Threading.CancellationToken cancellationToken, params Newtonsoft.Json.JsonConverter[] converters);
Parameters
JsonWriter
writer
|
CancellationToken
cancellationToken
|
JsonConverter[]
converters
|
Returns
Task
|