Exemple #1
0
        private void ProcessEntry(ReaderBatchResult batchResult)
        {
            IOutput output = _outputResolver.Resolve(_options !.Output);

            output.Configure(_options);

            XmlConverter converter = new XmlConverter();

            foreach (var owner in batchResult.Batch)
            {
                BsonDocument document = converter.ConvertToBson(owner);

                output.Present(document);
                owner.Dispose();
            }
        }