Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwardsFailureMechanismCreateExtensions.cs =================================================================== diff -u -r71123d9c364c97a5ef2eec81acd1bf877a1297b0 -rae6f0c6b534ca650e160ae6d9c0bc90369d25c68 --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwardsFailureMechanismCreateExtensions.cs (.../GrassCoverErosionInwardsFailureMechanismCreateExtensions.cs) (revision 71123d9c364c97a5ef2eec81acd1bf877a1297b0) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwardsFailureMechanismCreateExtensions.cs (.../GrassCoverErosionInwardsFailureMechanismCreateExtensions.cs) (revision ae6f0c6b534ca650e160ae6d9c0bc90369d25c68) @@ -34,14 +34,14 @@ /// Creates a based on the information of the . /// /// The failure mechanism to create a database entity for. - /// The object keeping track of create operations. + /// The object keeping track of create operations. /// A new . - /// Thrown when is null. - internal static FailureMechanismEntity Create(this GrassCoverErosionInwardsFailureMechanism mechanism, PersistenceRegistry collector) + /// Thrown when is null. + internal static FailureMechanismEntity Create(this GrassCoverErosionInwardsFailureMechanism mechanism, PersistenceRegistry registry) { - if (collector == null) + if (registry == null) { - throw new ArgumentNullException("collector"); + throw new ArgumentNullException("registry"); } var entity = new FailureMechanismEntity @@ -50,9 +50,9 @@ IsRelevant = Convert.ToByte(mechanism.IsRelevant) }; - mechanism.AddEntitiesForFailureMechanismSections(collector, entity); + mechanism.AddEntitiesForFailureMechanismSections(registry, entity); - collector.Register(entity, mechanism); + registry.Register(entity, mechanism); return entity; } }