Index: Riskeer/GrassCoverErosionInwards/src/Riskeer.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsDataSynchronizationService.cs =================================================================== diff -u -rc3a67fb890682c3747d265cf082c279801e886af -rb4cf8f9c714eaf95f2a59954c893bc2e49b70c0e --- Riskeer/GrassCoverErosionInwards/src/Riskeer.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsDataSynchronizationService.cs (.../GrassCoverErosionInwardsDataSynchronizationService.cs) (revision c3a67fb890682c3747d265cf082c279801e886af) +++ Riskeer/GrassCoverErosionInwards/src/Riskeer.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsDataSynchronizationService.cs (.../GrassCoverErosionInwardsDataSynchronizationService.cs) (revision b4cf8f9c714eaf95f2a59954c893bc2e49b70c0e) @@ -60,17 +60,18 @@ } /// - /// Clears the and output for all the calculations - /// in the that uses an + /// Clears the and output for the calculations in the + /// that uses an /// from . /// /// The /// which contains the calculations. /// The hydraulic boundary locations to clear for. /// An of objects which are affected by removal of data. /// Thrown when any parameter is null. - public static IEnumerable ClearAllCalculationOutputAndHydraulicBoundaryLocations(GrassCoverErosionInwardsFailureMechanism failureMechanism, - IEnumerable hydraulicBoundaryLocations) + public static IEnumerable ClearCalculationOutputAndHydraulicBoundaryLocations( + GrassCoverErosionInwardsFailureMechanism failureMechanism, + IEnumerable hydraulicBoundaryLocations) { if (failureMechanism == null) { Index: Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsDataSynchronizationServiceTest.cs =================================================================== diff -u -rc3a67fb890682c3747d265cf082c279801e886af -rb4cf8f9c714eaf95f2a59954c893bc2e49b70c0e --- Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsDataSynchronizationServiceTest.cs (.../GrassCoverErosionInwardsDataSynchronizationServiceTest.cs) (revision c3a67fb890682c3747d265cf082c279801e886af) +++ Riskeer/GrassCoverErosionInwards/test/Riskeer.GrassCoverErosionInwards.Service.Test/GrassCoverErosionInwardsDataSynchronizationServiceTest.cs (.../GrassCoverErosionInwardsDataSynchronizationServiceTest.cs) (revision b4cf8f9c714eaf95f2a59954c893bc2e49b70c0e) @@ -72,29 +72,29 @@ } [Test] - public void ClearAllCalculationOutputAndHydraulicBoundaryLocations_FailureMechanismNull_ThrowsArgumentNullException() + public void ClearCalculationOutputAndHydraulicBoundaryLocations_FailureMechanismNull_ThrowsArgumentNullException() { // Call - void Call() => GrassCoverErosionInwardsDataSynchronizationService.ClearAllCalculationOutputAndHydraulicBoundaryLocations(null, Enumerable.Empty()); + void Call() => GrassCoverErosionInwardsDataSynchronizationService.ClearCalculationOutputAndHydraulicBoundaryLocations(null, Enumerable.Empty()); // Assert var exception = Assert.Throws(Call); Assert.AreEqual("failureMechanism", exception.ParamName); } [Test] - public void ClearAllCalculationOutputAndHydraulicBoundaryLocations_HydraulicBoundaryLocationsNull_ThrowsArgumentNullException() + public void ClearCalculationOutputAndHydraulicBoundaryLocations_HydraulicBoundaryLocationsNull_ThrowsArgumentNullException() { // Call - void Call() => GrassCoverErosionInwardsDataSynchronizationService.ClearAllCalculationOutputAndHydraulicBoundaryLocations(new GrassCoverErosionInwardsFailureMechanism(), null); + void Call() => GrassCoverErosionInwardsDataSynchronizationService.ClearCalculationOutputAndHydraulicBoundaryLocations(new GrassCoverErosionInwardsFailureMechanism(), null); // Assert var exception = Assert.Throws(Call); Assert.AreEqual("hydraulicBoundaryLocations", exception.ParamName); } [Test] - public void ClearAllCalculationOutputAndHydraulicBoundaryLocations_WithVariousCalculations_ClearsHydraulicBoundaryLocationAndCalculationsAndReturnsAffectedObjects() + public void ClearCalculationOutputAndHydraulicBoundaryLocations_WithVariousCalculations_ClearsHydraulicBoundaryLocationAndCalculationsAndReturnsAffectedObjects() { // Setup var hydraulicBoundaryLocation1 = new TestHydraulicBoundaryLocation(); @@ -131,7 +131,7 @@ .Where(i => i.HydraulicBoundaryLocation == hydraulicBoundaryLocation1)); // Call - IEnumerable affectedItems = GrassCoverErosionInwardsDataSynchronizationService.ClearAllCalculationOutputAndHydraulicBoundaryLocations( + IEnumerable affectedItems = GrassCoverErosionInwardsDataSynchronizationService.ClearCalculationOutputAndHydraulicBoundaryLocations( failureMechanism, new[] { hydraulicBoundaryLocation1 Index: Riskeer/Integration/src/Riskeer.Integration.Service/RiskeerDataSynchronizationService.cs =================================================================== diff -u -rc3a67fb890682c3747d265cf082c279801e886af -rb4cf8f9c714eaf95f2a59954c893bc2e49b70c0e --- Riskeer/Integration/src/Riskeer.Integration.Service/RiskeerDataSynchronizationService.cs (.../RiskeerDataSynchronizationService.cs) (revision c3a67fb890682c3747d265cf082c279801e886af) +++ Riskeer/Integration/src/Riskeer.Integration.Service/RiskeerDataSynchronizationService.cs (.../RiskeerDataSynchronizationService.cs) (revision b4cf8f9c714eaf95f2a59954c893bc2e49b70c0e) @@ -94,7 +94,7 @@ pipingFailureMechanism, hydraulicBoundaryLocations)); break; case GrassCoverErosionInwardsFailureMechanism grassCoverErosionInwardsFailureMechanism: - changedObservables.AddRange(GrassCoverErosionInwardsDataSynchronizationService.ClearAllCalculationOutputAndHydraulicBoundaryLocations( + changedObservables.AddRange(GrassCoverErosionInwardsDataSynchronizationService.ClearCalculationOutputAndHydraulicBoundaryLocations( grassCoverErosionInwardsFailureMechanism, hydraulicBoundaryLocations)); break; case StabilityStoneCoverFailureMechanism stabilityStoneCoverFailureMechanism: