WriteProducts() private method

private WriteProducts ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void
Beispiel #1
0
        public static void Write(TaskDocumentWriter taskWriter)
        {
            if (taskWriter.DataModel.Catalog.Products == null)
                return;

            var writer = new ProductWriter(taskWriter);
            writer.WriteProducts(taskWriter.RootWriter);
        }
Beispiel #2
0
        public static void Write(TaskDocumentWriter taskWriter)
        {
            if (taskWriter.DataModel.Catalog.Products == null)
            {
                return;
            }

            var writer = new ProductWriter(taskWriter);

            writer.WriteProducts(taskWriter.RootWriter);
        }