/// <summary> /// Initializes a new instance of <see cref="Deserializer" /> using the default configuration. /// </summary> /// <remarks> /// To customize the bahavior of the deserializer, use <see cref="DeserializerBuilder" />. /// </remarks> public Deserializer() // TODO: When the backwards compatibility is dropped, uncomment the following line and remove the body of this constructor. // : this(new DeserializerBuilder().BuildValueDeserializer()) { backwardsCompatibleConfiguration = new BackwardsCompatibleConfiguration(null, null, false, null); valueDeserializer = backwardsCompatibleConfiguration.valueDeserializer; }
public Deserializer( IObjectFactory objectFactory = null, INamingConvention namingConvention = null, bool ignoreUnmatched = false, YamlAttributeOverrides overrides = null) { backwardsCompatibleConfiguration = new BackwardsCompatibleConfiguration(objectFactory, namingConvention, ignoreUnmatched, overrides); valueDeserializer = backwardsCompatibleConfiguration.valueDeserializer; }
// TODO: When the backwards compatibility is dropped, uncomment the following line and remove the body of this constructor. //: this(new SerializerBuilder().BuildSerializerParams()) /// <summary> /// Initializes a new instance of <see cref="Serializer" /> using the default configuration. /// </summary> /// <remarks> /// To customize the bahavior of the serializer, use <see cref="SerializerBuilder" />. /// </remarks> public Serializer() { backwardsCompatibleConfiguration = new BackwardsCompatibleConfiguration(SerializationOptions.None, null, null); }
public Serializer(SerializationOptions options = SerializationOptions.None, INamingConvention namingConvention = null, YamlAttributeOverrides overrides = null) { backwardsCompatibleConfiguration = new BackwardsCompatibleConfiguration(options, namingConvention, overrides); }
/// <summary> /// Initializes a new instance of <see cref="Serializer" /> using the default configuration. /// </summary> /// <remarks> /// To customize the bahavior of the serializer, use <see cref="SerializerBuilder" />. /// </remarks> public Serializer() // TODO: When the backwards compatibility is dropped, uncomment the following line and remove the body of this constructor. //: this(new SerializerBuilder().BuildSerializerParams()) { backwardsCompatibleConfiguration = new BackwardsCompatibleConfiguration(SerializationOptions.None, null, null); }
public Serializer(SerializationOptions options = SerializationOptions.None, INamingConvention namingConvention = null, YamlAttributeOverrides overrides = null) { backwardsCompatibleConfiguration = new BackwardsCompatibleConfiguration(options, namingConvention, overrides); }