using System; namespace DPumpHydr.WinFrmUI.WenSkin.Json { /// /// Specifies type name handling options for the . /// /// /// should be used with caution when your application deserializes JSON from an external source. /// Incoming types should be validated with a custom /// when deserializing with a value other than TypeNameHandling.None. /// [Flags] public enum TypeNameHandling { /// /// Do not include the .NET type name when serializing types. /// None = 0x0, /// /// Include the .NET type name when serializing into a JSON object structure. /// Objects = 0x1, /// /// Include the .NET type name when serializing into a JSON array structure. /// Arrays = 0x2, /// /// Always include the .NET type name when serializing. /// All = 0x3, /// /// Include the .NET type name when the type of the object being serialized is not the same as its declared type. /// Auto = 0x4 } }