Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationCalculationsExporter.cs =================================================================== diff -u -rbd5cd12c211e63d9ad3be8235234449571c4460c -r3fa2200f5ad050d55eec5b00f3ef2e7084a0c223 --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationCalculationsExporter.cs (.../DuneLocationCalculationsExporter.cs) (revision bd5cd12c211e63d9ad3be8235234449571c4460c) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.IO/DuneLocationCalculationsExporter.cs (.../DuneLocationCalculationsExporter.cs) (revision 3fa2200f5ad050d55eec5b00f3ef2e7084a0c223) @@ -25,7 +25,6 @@ using Core.Common.IO.Exceptions; using Core.Common.Util; using log4net; -using Ringtoets.DuneErosion.Data; using RingtoetsCommonIOResources = Ringtoets.Common.IO.Properties.Resources; namespace Ringtoets.DuneErosion.IO @@ -37,34 +36,34 @@ { private static readonly ILog log = LogManager.GetLogger(typeof(DuneLocationCalculationsExporter)); - private readonly IEnumerable duneLocationCalculations; + private readonly IEnumerable exportableDuneLocationCalculations; private readonly string filePath; /// /// Creates a new instance of . /// - /// The dune location calculations to export. + /// The dune location calculations to export. /// The path of the file to export to. - /// Thrown when is null. + /// Thrown when is null. /// Thrown when is invalid. - public DuneLocationCalculationsExporter(IEnumerable duneLocationCalculations, string filePath) + public DuneLocationCalculationsExporter(IEnumerable exportableDuneLocationCalculations, string filePath) { - if (duneLocationCalculations == null) + if (exportableDuneLocationCalculations == null) { - throw new ArgumentNullException(nameof(duneLocationCalculations)); + throw new ArgumentNullException(nameof(exportableDuneLocationCalculations)); } IOUtils.ValidateFilePath(filePath); - this.duneLocationCalculations = duneLocationCalculations; + this.exportableDuneLocationCalculations = exportableDuneLocationCalculations; this.filePath = filePath; } public bool Export() { try { - DuneLocationCalculationsWriter.WriteDuneLocationCalculations(duneLocationCalculations, filePath); + DuneLocationCalculationsWriter.WriteDuneLocationCalculations(exportableDuneLocationCalculations, filePath); } catch (CriticalFileWriteException e) {