public static void Write(TaskDocumentWriter taskWriter) { if (taskWriter.DataModel.Catalog.Products == null) return; var writer = new ProductWriter(taskWriter); writer.WriteProducts(taskWriter.RootWriter); }
public static void Write(TaskDocumentWriter taskWriter) { if (taskWriter.DataModel.Catalog.Products == null) { return; } var writer = new ProductWriter(taskWriter); writer.WriteProducts(taskWriter.RootWriter); }
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); }