Inheritance: BaseWriter
コード例 #1
0
ファイル: CustomerWriter.cs プロジェクト: ADAPT/ISOv4Plugin
        public static void Write(TaskDocumentWriter taskWriter)
        {
            if (taskWriter.DataModel.Catalog.Growers == null ||
                taskWriter.DataModel.Catalog.Growers.Count == 0)
                return;

            var writer = new CustomerWriter(taskWriter);
            writer.WriteCustomers(taskWriter.RootWriter);
        }
コード例 #2
0
 private static void WriteMetaItems(TaskDocumentWriter writer)
 {
     AttachedFileWriter.Write(writer);
     CropWriter.Write(writer);
     CustomerWriter.Write(writer);
     FarmWriter.Write(writer);
     FieldWriter.Write(writer);
     ProductWriter.Write(writer);
     WorkerWriter.Write(writer);
     CommentWriter.Write(writer);
     PrescriptionWriter.Write(writer);
 }
コード例 #3
0
        public static void Write(TaskDocumentWriter taskWriter)
        {
            if (taskWriter.DataModel.Catalog.Growers == null ||
                taskWriter.DataModel.Catalog.Growers.Count == 0)
            {
                return;
            }

            var writer = new CustomerWriter(taskWriter);

            writer.WriteCustomers(taskWriter.RootWriter);
        }