Index: Ringtoets/Integration/src/Ringtoets.Integration.Service/Merge/LoadAssessmentSectionsActivity.cs =================================================================== diff -u -r103777df4e37f7a8c35e7a45f9192027a119873e -r9b13d72b947e626befe542c6c09d34860a6b485c --- Ringtoets/Integration/src/Ringtoets.Integration.Service/Merge/LoadAssessmentSectionsActivity.cs (.../LoadAssessmentSectionsActivity.cs) (revision 103777df4e37f7a8c35e7a45f9192027a119873e) +++ Ringtoets/Integration/src/Ringtoets.Integration.Service/Merge/LoadAssessmentSectionsActivity.cs (.../LoadAssessmentSectionsActivity.cs) (revision 9b13d72b947e626befe542c6c09d34860a6b485c) @@ -33,7 +33,7 @@ internal class LoadAssessmentSectionsActivity : Activity { private readonly AssessmentSectionsOwner assessmentSectionsOwner; - private readonly IAssessmentSectionProvider assessmentSectionProvider; + private readonly ILoadAssessmentSectionService loadAssessmentSectionService; private readonly string filePath; private bool canceled; @@ -43,23 +43,23 @@ /// /// The owner to set the retrieved collection /// of on. - /// The provider defining how to + /// The provider defining how to /// retrieve the collection of from a file. /// The file path to retrieve the collection of /// from. /// Thrown when any of the arguments is null. public LoadAssessmentSectionsActivity(AssessmentSectionsOwner assessmentSectionsOwner, - IAssessmentSectionProvider assessmentSectionProvider, + ILoadAssessmentSectionService loadAssessmentSectionService, string filePath) { if (assessmentSectionsOwner == null) { throw new ArgumentNullException(nameof(assessmentSectionsOwner)); } - if (assessmentSectionProvider == null) + if (loadAssessmentSectionService == null) { - throw new ArgumentNullException(nameof(assessmentSectionProvider)); + throw new ArgumentNullException(nameof(loadAssessmentSectionService)); } if (filePath == null) @@ -68,15 +68,15 @@ } this.assessmentSectionsOwner = assessmentSectionsOwner; - this.assessmentSectionProvider = assessmentSectionProvider; + this.loadAssessmentSectionService = loadAssessmentSectionService; this.filePath = filePath; Description = Resources.LoadAssessmentSectionsActivity_Description; } protected override void OnRun() { - assessmentSectionsOwner.AssessmentSections = assessmentSectionProvider.GetAssessmentSections(filePath); + assessmentSectionsOwner.AssessmentSections = loadAssessmentSectionService.GetAssessmentSections(filePath); } protected override void OnCancel()