/// <summary> /// Save the tasks. /// </summary> /// /// <param name="xout">The output file.</param> private void SaveTasks(EncogWriteHelper xout) { xout.AddSection("TASKS"); var list = _script.Tasks.Keys.ToList(); list.Sort(); foreach (String key in list) { AnalystTask task = _script.GetTask(key); xout.AddSubSection(task.Name); foreach (String line in task.Lines) { xout.AddLine(line); } } }