Index: Ringtoets/Common/src/Ringtoets.Common.IO/ReferenceLineExporter.cs =================================================================== diff -u -r4851d9c2b000de0707f6cce0872979ecc1e3dead -r58e275211395fc690df2706ccdaff082ecf7b544 --- Ringtoets/Common/src/Ringtoets.Common.IO/ReferenceLineExporter.cs (.../ReferenceLineExporter.cs) (revision 4851d9c2b000de0707f6cce0872979ecc1e3dead) +++ Ringtoets/Common/src/Ringtoets.Common.IO/ReferenceLineExporter.cs (.../ReferenceLineExporter.cs) (revision 58e275211395fc690df2706ccdaff082ecf7b544) @@ -30,7 +30,7 @@ namespace Ringtoets.Common.IO { /// - /// Exports a from a and stores it in a shapefile. + /// Exports a associated to an and stores it as a shapefile. /// public class ReferenceLineExporter : IFileExporter { @@ -44,10 +44,10 @@ /// Creates a new instance of . /// /// The reference line to export. + /// The id of the assessment section to which this reference line is associated. /// The path of the file to export to. - /// The assessment section id. /// Thrown when is invalid. - public ReferenceLineExporter(ReferenceLine referenceLine, string filePath, string id) + public ReferenceLineExporter(ReferenceLine referenceLine, string id, string filePath) { FileUtils.ValidateFilePath(filePath); @@ -62,11 +62,11 @@ try { - referenceLineWriter.WriteReferenceLine(referenceLine, filePath, id); + referenceLineWriter.WriteReferenceLine(referenceLine, id, filePath); } catch (CriticalFileWriteException e) { - log.Error(string.Format(Resources.ReferenceLineExporter_Error_0_no_referenceline_exported, e.Message)); + log.Error(string.Format(Resources.ReferenceLineExporter_Error_0_no_ReferenceLine_exported, e.Message)); return false; }