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