/// <summary> /// Helper method to output a standard GEDCOM file without needing to create a writer. /// </summary> /// <param name="database">The database to output.</param> /// <param name="stream">The stream to write to.</param> public static void OutputGedcom(GedcomDatabase database, Stream stream) { var writer = new GedcomRecordWriter(); writer.WriteGedcom(database, stream); }
/// <summary> /// Helper method to output a standard GEDCOM file without needing to create a writer. /// </summary> /// <param name="database">The database to output.</param> /// <param name="file">The file path to output to.</param> public static void OutputGedcom(GedcomDatabase database, string file) { var writer = new GedcomRecordWriter(); writer.WriteGedcom(database, file); }