WriteWorkers() private method

private WriteWorkers ( XmlWriter writer ) : void
writer System.Xml.XmlWriter
return void
示例#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);
        }
示例#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);
        }