Index: Riskeer/Common/src/Riskeer.Common.Forms/Views/AdoptableFailureMechanismSectionResultRow.cs
===================================================================
diff -u -r742e8a83db927aae3128045b03d832f29d64f755 -r456ec14899daff02285f89f82385da3e02242139
--- Riskeer/Common/src/Riskeer.Common.Forms/Views/AdoptableFailureMechanismSectionResultRow.cs (.../AdoptableFailureMechanismSectionResultRow.cs) (revision 742e8a83db927aae3128045b03d832f29d64f755)
+++ Riskeer/Common/src/Riskeer.Common.Forms/Views/AdoptableFailureMechanismSectionResultRow.cs (.../AdoptableFailureMechanismSectionResultRow.cs) (revision 456ec14899daff02285f89f82385da3e02242139)
@@ -56,7 +56,7 @@
/// The
/// to calculate the initial mechanism result probability.
/// The error provider to use for
- /// the failure mechanism section result.
+ /// the failure mechanism section result row.
/// The assessment section the section result belongs to.
/// The property values required to create an instance of
/// .
Index: Riskeer/Common/src/Riskeer.Common.Forms/Views/AdoptableWithProfileProbabilityFailureMechanismSectionResultRow.cs
===================================================================
diff -u -re21192fa8727dc20807bea2c3d6edf83718804b8 -r456ec14899daff02285f89f82385da3e02242139
--- Riskeer/Common/src/Riskeer.Common.Forms/Views/AdoptableWithProfileProbabilityFailureMechanismSectionResultRow.cs (.../AdoptableWithProfileProbabilityFailureMechanismSectionResultRow.cs) (revision e21192fa8727dc20807bea2c3d6edf83718804b8)
+++ Riskeer/Common/src/Riskeer.Common.Forms/Views/AdoptableWithProfileProbabilityFailureMechanismSectionResultRow.cs (.../AdoptableWithProfileProbabilityFailureMechanismSectionResultRow.cs) (revision 456ec14899daff02285f89f82385da3e02242139)
@@ -62,7 +62,7 @@
/// the source of this row.
/// The strategy used to calculate probabilities.
/// The error provider to use for
- /// the failure mechanism section result.
+ /// the failure mechanism section result row.
/// The provider to get the length effect properties.
/// The assessment section the section result belongs to.
/// The property values required to create an instance of
Index: Riskeer/Common/src/Riskeer.Common.Forms/Views/NonAdoptableFailureMechanismResultView.cs
===================================================================
diff -u -r95d662c7bd17be46cd49f658b6e5982ecfd81355 -r456ec14899daff02285f89f82385da3e02242139
--- Riskeer/Common/src/Riskeer.Common.Forms/Views/NonAdoptableFailureMechanismResultView.cs (.../NonAdoptableFailureMechanismResultView.cs) (revision 95d662c7bd17be46cd49f658b6e5982ecfd81355)
+++ Riskeer/Common/src/Riskeer.Common.Forms/Views/NonAdoptableFailureMechanismResultView.cs (.../NonAdoptableFailureMechanismResultView.cs) (revision 456ec14899daff02285f89f82385da3e02242139)
@@ -77,7 +77,8 @@
protected override NonAdoptableFailureMechanismSectionResultRow CreateFailureMechanismSectionResultRow(NonAdoptableFailureMechanismSectionResult sectionResult)
{
return new NonAdoptableFailureMechanismSectionResultRow(
- sectionResult, new FailureMechanismSectionResultRowErrorProvider(),
+ sectionResult,
+ CreateErrorProvider(),
assessmentSection, new NonAdoptableFailureMechanismSectionResultRow.ConstructionProperties
{
InitialFailureMechanismResultTypeIndex = initialFailureMechanismResultTypeIndex,
@@ -128,5 +129,10 @@
DataGridViewControl,
nameof(NonAdoptableFailureMechanismSectionResultRow.AssemblyGroup));
}
+
+ private static IFailureMechanismSectionResultRowErrorProvider CreateErrorProvider()
+ {
+ return new FailureMechanismSectionResultRowErrorProvider();
+ }
}
}
\ No newline at end of file
Index: Riskeer/Common/src/Riskeer.Common.Forms/Views/NonAdoptableFailureMechanismSectionResultRow.cs
===================================================================
diff -u -r95d662c7bd17be46cd49f658b6e5982ecfd81355 -r456ec14899daff02285f89f82385da3e02242139
--- Riskeer/Common/src/Riskeer.Common.Forms/Views/NonAdoptableFailureMechanismSectionResultRow.cs (.../NonAdoptableFailureMechanismSectionResultRow.cs) (revision 95d662c7bd17be46cd49f658b6e5982ecfd81355)
+++ Riskeer/Common/src/Riskeer.Common.Forms/Views/NonAdoptableFailureMechanismSectionResultRow.cs (.../NonAdoptableFailureMechanismSectionResultRow.cs) (revision 456ec14899daff02285f89f82385da3e02242139)
@@ -53,7 +53,7 @@
/// The that is
/// the source of this row.
/// The error provider to use for
- /// the failure mechanism section result.
+ /// the failure mechanism section result row.
/// The assessment section the section result belongs to.
/// The property values required to create an instance of
/// .