public FormDataToObjectConverter(FormData sourceData, IFormDataConverterLogger logger) 
        {
            if (sourceData == null)
                throw new ArgumentNullException("sourceData");
            if (logger == null)
                throw new ArgumentNullException("logger");

            SourceData = sourceData;
            Logger = logger;
        }
        public FormDataToObjectConverter(FormData sourceData, IFormDataConverterLogger logger)
        {
            if (sourceData == null)
            {
                throw new ArgumentNullException("sourceData");
            }
            if (logger == null)
            {
                throw new ArgumentNullException("logger");
            }

            SourceData = sourceData;
            Logger     = logger;
        }
        /// <summary>
        /// Instantiate and initialise a new instance of <see cref="FormDataToObjectConverter"/>
        /// </summary>
        /// <param name="sourceData">The <see cref="FormData"/> to convert.</param>
        /// <param name="logger">The <see cref="IFormatterLogger"/> to log events to.</param>
        /// <param name="settings">The <see cref="MultipartFormatterSettings"/> to use.</param>
        public FormDataToObjectConverter(FormData sourceData, IFormDataConverterLogger logger, MultipartFormatterSettings settings)
        {
            if (sourceData == null)
            {
                throw new ArgumentNullException("sourceData");
            }
            if (logger == null)
            {
                throw new ArgumentNullException("logger");
            }
            if (settings == null)
            {
                throw new ArgumentNullException("settings");
            }

            _settings   = settings;
            _sourceData = sourceData;
            _logger     = logger;
        }
 public FormDataToObjectConverter(FormData sourceData, IFormDataConverterLogger logger)
 {
     _sourceData = sourceData ?? throw new ArgumentNullException(nameof(sourceData));
     _logger     = logger ?? throw new ArgumentNullException(nameof(logger));
 }