Index: Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsFailureMechanismProperties.cs =================================================================== diff -u -r135e4770c78601dfb46d2b3387413e924ef7abb7 -r76e4ebd5e9d2104d230e44b373a43744d41a2dc9 --- Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsFailureMechanismProperties.cs (.../MacroStabilityInwardsFailureMechanismProperties.cs) (revision 135e4770c78601dfb46d2b3387413e924ef7abb7) +++ Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.Forms/PropertyClasses/MacroStabilityInwardsFailureMechanismProperties.cs (.../MacroStabilityInwardsFailureMechanismProperties.cs) (revision 76e4ebd5e9d2104d230e44b373a43744d41a2dc9) @@ -38,6 +38,7 @@ public class MacroStabilityInwardsFailureMechanismProperties : ObjectProperties { private readonly Dictionary propertyIndexLookup; + private readonly IAssessmentSection assessmentSection; /// /// Creates a new instance of . @@ -66,7 +67,7 @@ } Data = data; - AssessmentSection = assessmentSection; + this.assessmentSection = assessmentSection; propertyIndexLookup = new Dictionary { @@ -106,11 +107,6 @@ } /// - /// Gets the . - /// - protected IAssessmentSection AssessmentSection { get; } - - /// /// Class holding the various construction parameters for . /// public class ConstructionProperties @@ -255,7 +251,7 @@ { get { - return new RoundedDouble(2, AssessmentSection.ReferenceLine.Length); + return new RoundedDouble(2, assessmentSection.ReferenceLine.Length); } } @@ -268,7 +264,7 @@ get { MacroStabilityInwardsProbabilityAssessmentInput probabilityAssessmentInput = data.MacroStabilityInwardsProbabilityAssessmentInput; - return new RoundedDouble(2, probabilityAssessmentInput.GetN(AssessmentSection.ReferenceLine.Length)); + return new RoundedDouble(2, probabilityAssessmentInput.GetN(assessmentSection.ReferenceLine.Length)); } }