/// <summary> /// Creates a new instance. /// </summary> /// <param name="options">The deserialization options</param> /// <param name="normalizer">The <see cref="IniContainer"/> normalizer</param> /// <exception cref="ArgumentNullException"></exception> public IniDeserializer(IniDeserializationOptions options, IIniNormalizer normalizer) { if (options == null) { throw new ArgumentNullException(nameof(options)); } if (normalizer == null) { throw new ArgumentNullException(nameof(normalizer)); } Options = options; Normalizer = normalizer; }
/// <summary> /// Creates a new instance. /// </summary> /// <param name="options">The deserialization options</param> /// <exception cref="ArgumentNullException"></exception> public IniDeserializer(IniDeserializationOptions options) : this(options, IniNormalizer.Default) { }