Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PresentationObjects/FailureMechanismSectionResultContext.cs
===================================================================
diff -u -rd49b0c7df08ca616edb5c3945adbb22eab479bf7 -rc116b4635603c6d5bbdedb837f68fd3839ece6ca
--- Ringtoets/Common/src/Ringtoets.Common.Forms/PresentationObjects/FailureMechanismSectionResultContext.cs (.../FailureMechanismSectionResultContext.cs) (revision d49b0c7df08ca616edb5c3945adbb22eab479bf7)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/PresentationObjects/FailureMechanismSectionResultContext.cs (.../FailureMechanismSectionResultContext.cs) (revision c116b4635603c6d5bbdedb837f68fd3839ece6ca)
@@ -26,13 +26,10 @@
namespace Ringtoets.Common.Forms.PresentationObjects
{
///
- /// This class is a presentation object for .
+ /// This class is a presentation object for a collection of .
///
public class FailureMechanismSectionResultContext
{
- private readonly IEnumerable sectionResults;
- private readonly IFailureMechanism failureMechanism;
-
///
/// Creates a new instance of .
///
@@ -49,30 +46,18 @@
{
throw new ArgumentNullException("failureMechanism");
}
- this.sectionResults = sectionResults;
- this.failureMechanism = failureMechanism;
+ SectionResults = sectionResults;
+ FailureMechanism = failureMechanism;
}
///
/// Gets the wrapped of .
///
- public IEnumerable SectionResults
- {
- get
- {
- return sectionResults;
- }
- }
+ public IEnumerable SectionResults { get; private set; }
///
/// Gets the .
///
- public IFailureMechanism FailureMechanism
- {
- get
- {
- return failureMechanism;
- }
- }
+ public IFailureMechanism FailureMechanism { get; private set; }
}
}
\ No newline at end of file