WriteCrops() private method

private WriteCrops ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void
コード例 #1
0
ファイル: CropWriter.cs プロジェクト: ADAPT/ISOv4Plugin
        public static void Write(TaskDocumentWriter taskWriter)
        {
            if (taskWriter.DataModel.Catalog.Crops == null ||
                taskWriter.DataModel.Catalog.Crops.Count == 0)
                return;

            var writer = new CropWriter(taskWriter);
            writer.WriteCrops(taskWriter.RootWriter);
        }
コード例 #2
0
        public static void Write(TaskDocumentWriter taskWriter)
        {
            if (taskWriter.DataModel.Catalog.Crops == null ||
                taskWriter.DataModel.Catalog.Crops.Count == 0)
            {
                return;
            }

            var writer = new CropWriter(taskWriter);

            writer.WriteCrops(taskWriter.RootWriter);
        }