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); }
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); }