Inheritance: BaseWriter
Exemplo n.º 1
0
        public static void Write(TaskDocumentWriter taskWriter)
        {
            if (taskWriter.DataModel.Catalog.Persons == null ||
                taskWriter.DataModel.Catalog.Persons.Count == 0)
                return;

            var writer = new WorkerWriter(taskWriter);
            writer.WriteWorkers(taskWriter.RootWriter);
        }
Exemplo n.º 2
0
        public static void Write(TaskDocumentWriter taskWriter)
        {
            if (taskWriter.DataModel.Catalog.Persons == null ||
                taskWriter.DataModel.Catalog.Persons.Count == 0)
            {
                return;
            }

            var writer = new WorkerWriter(taskWriter);

            writer.WriteWorkers(taskWriter.RootWriter);
        }
Exemplo n.º 3
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);
 }