<PackageReference Include="Newtonsoft.Json" Version="6.0.3" />

JConstructor

public class JConstructor : JContainer
Represents a JSON constructor.
public string Name { get; set; }

Gets or sets the name of this constructor.

public JConstructor()

Initializes a new instance of the JConstructor class.

public JConstructor(JConstructor other)

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

public JConstructor(string name, object[] content)

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

public JConstructor(string name, object content)

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

public JConstructor(string name)

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

public static JConstructor Load(JsonReader reader)

Loads an JConstructor from a JsonReader.