WCF-Xtensions Class Reference for Mono
ConstructorHandling Enumeration






Specifies how constructors are used when initializing objects during deserialization by the JsonSerializer.
Syntax
'Declaration
 
Public Enum ConstructorHandling 
   Inherits System.Enum
'Usage
 
Dim instance As ConstructorHandling
public enum ConstructorHandling : System.Enum 
public enum ConstructorHandling = class(System.Enum)
public enum ConstructorHandling extends System.Enum
__value public enum ConstructorHandling : public System.Enum 
public enum class ConstructorHandling : public System.Enum 
Members
MemberDescription
AllowNonPublicDefaultConstructor Json.NET will use a non-public default constructor before falling back to a paramatized constructor.
Default First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Noemax.Newtonsoft.Json.ConstructorHandling

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Noemax.Newtonsoft.Json Namespace

Send Feedback