Dumps parts, exports and imports to a text file. Useful to diff the results of two compositions to verify that different ways to compose produce same results.
 public static void WriteTo(CompositionContainer compositionContainer, TextWriter writer)
 {
     var dumper = new CompositionDumper(writer);
     dumper.BuildCatalog(compositionContainer.Catalog);
 }
Пример #2
0
        public static void WriteTo(CompositionContainer compositionContainer, TextWriter writer)
        {
            var dumper = new CompositionDumper(writer);

            dumper.BuildCatalog(compositionContainer.Catalog);
        }