public void Populate(TextReader reader, IValueContainer target)
 {
     using (var valueReader = _valueTextReaderFactory.Create(reader))
     {
         var reconstructor = new ObjectReconstructor(_composerSelector, target, _typeSerializerHelper);
         valueReader.Read(reconstructor);
     }
 }
 public void Populate(Stream stream, IValueContainer target)
 {
     using (var textReader = new StreamReader(stream, UTF8, true, 4096, leaveOpen: true))
     {
         using (var valueReader = _valueTextReaderFactory.Create(textReader))
         {
             var reconstructor = new ObjectReconstructor(_composerSelector, target, _typeSerializerHelper);
             valueReader.Read(reconstructor);
         }
     }
 }
        public void Populate(TextReader reader, IValueContainer target)
        {
            using (var valueReader = _valueTextReaderFactory.Create(reader))
            {
                var reconstructor = new ObjectReconstructor(
                    _typeResolver,
                    _composerSelector,
                    target,
                    _typeNameShortener,
                    _assemblyNameShortener);

                valueReader.Read(reconstructor);
            }
        }
        public void Populate(Stream stream, IValueContainer target)
        {
            using (var textReader = new StreamReader(stream, UTF8, true, 4096, leaveOpen: true))
            {
                using (var valueReader = _valueTextReaderFactory.Create(textReader))
                {
                    var reconstructor = new ObjectReconstructor(
                        _typeResolver,
                        _composerSelector,
                        target,
                        _typeNameShortener,
                        _assemblyNameShortener);

                    valueReader.Read(reconstructor);
                }
            }
        }