Index: Ringtoets/Integration/src/Ringtoets.Integration.Service/Merge/LoadAssessmentSectionsActivity.cs =================================================================== diff -u -r4d90e59f7bad864dba557b3e3d3dc90a4a17f63a -r103777df4e37f7a8c35e7a45f9192027a119873e --- Ringtoets/Integration/src/Ringtoets.Integration.Service/Merge/LoadAssessmentSectionsActivity.cs (.../LoadAssessmentSectionsActivity.cs) (revision 4d90e59f7bad864dba557b3e3d3dc90a4a17f63a) +++ Ringtoets/Integration/src/Ringtoets.Integration.Service/Merge/LoadAssessmentSectionsActivity.cs (.../LoadAssessmentSectionsActivity.cs) (revision 103777df4e37f7a8c35e7a45f9192027a119873e) @@ -32,7 +32,7 @@ /// internal class LoadAssessmentSectionsActivity : Activity { - private readonly AssessmentSectionsOwner owner; + private readonly AssessmentSectionsOwner assessmentSectionsOwner; private readonly IAssessmentSectionProvider assessmentSectionProvider; private readonly string filePath; @@ -41,20 +41,20 @@ /// /// Creates a new instance of . /// - /// The owner to set the retrieved collection + /// The owner to set the retrieved collection /// of on. /// 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 owner, + public LoadAssessmentSectionsActivity(AssessmentSectionsOwner assessmentSectionsOwner, IAssessmentSectionProvider assessmentSectionProvider, string filePath) { - if (owner == null) + if (assessmentSectionsOwner == null) { - throw new ArgumentNullException(nameof(owner)); + throw new ArgumentNullException(nameof(assessmentSectionsOwner)); } if (assessmentSectionProvider == null) @@ -67,7 +67,7 @@ throw new ArgumentNullException(nameof(filePath)); } - this.owner = owner; + this.assessmentSectionsOwner = assessmentSectionsOwner; this.assessmentSectionProvider = assessmentSectionProvider; this.filePath = filePath; @@ -76,7 +76,7 @@ protected override void OnRun() { - owner.AssessmentSections = assessmentSectionProvider.GetAssessmentSections(filePath); + assessmentSectionsOwner.AssessmentSections = assessmentSectionProvider.GetAssessmentSections(filePath); } protected override void OnCancel() @@ -88,7 +88,7 @@ { if (canceled) { - owner.AssessmentSections = null; + assessmentSectionsOwner.AssessmentSections = null; } } }