Version 2.1.0.0

SerializationConfig class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
public class SerializationConfig
Defines the configuration during serialization and deserialization. This class is thread-safe.
Inheritance
  • System.Object
  • SerializationConfig

Constructors

SerializationConfig()
Initializes a new instance of the SerializationConfig class.
public SerializationConfig()

Properties

DebugContext
Gets or sets the debug context. This value is never null; if set to null, a new default instance of DebugContext will be created upon the next get.
public DebugContext DebugContext { get; set; }
SerializationPolicy
Gets or sets the serialization policy. This value is never null; if set to null, it will default to Unity.
public ISerializationPolicy SerializationPolicy { get; set; }

Methods

ResetToDefault()
Resets the configuration to a default configuration, as if the constructor had just been called.
public void ResetToDefault()