Index: Riskeer/Piping/src/Riskeer.Piping.Forms/Views/ProbabilisticSubMechanismPipingProfileSpecificOutputView.cs
===================================================================
diff -u
--- Riskeer/Piping/src/Riskeer.Piping.Forms/Views/ProbabilisticSubMechanismPipingProfileSpecificOutputView.cs (revision 0)
+++ Riskeer/Piping/src/Riskeer.Piping.Forms/Views/ProbabilisticSubMechanismPipingProfileSpecificOutputView.cs (revision fa26bb05c3ea2b4a3b549d9438e2081daee246ae)
@@ -0,0 +1,49 @@
+// Copyright (C) Stichting Deltares 2019. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using Riskeer.Common.Data.IllustrationPoints;
+using Riskeer.Common.Forms.Views;
+using Riskeer.Piping.Data.Probabilistic;
+
+namespace Riskeer.Piping.Forms.Views
+{
+ ///
+ /// Override of for making output views for
+ /// uniquely identifiable (when it comes
+ /// to opening/closing views).
+ ///
+ public class ProbabilisticSubMechanismPipingProfileSpecificOutputView : GeneralResultSubMechanismIllustrationPointView
+ {
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The calculation to show the illustration points for.
+ /// A for obtaining the illustration point
+ /// data ( with objects)
+ /// that must be presented.
+ /// Thrown when any parameter is null.
+ public ProbabilisticSubMechanismPipingProfileSpecificOutputView(
+ ProbabilisticPipingCalculationScenario calculation,
+ Func> getGeneralResultFunc)
+ : base(calculation, getGeneralResultFunc) {}
+ }
+}
\ No newline at end of file
Index: Riskeer/Piping/src/Riskeer.Piping.Forms/Views/ProbabilisticSubMechanismPipingSectionSpecificOutputView.cs
===================================================================
diff -u
--- Riskeer/Piping/src/Riskeer.Piping.Forms/Views/ProbabilisticSubMechanismPipingSectionSpecificOutputView.cs (revision 0)
+++ Riskeer/Piping/src/Riskeer.Piping.Forms/Views/ProbabilisticSubMechanismPipingSectionSpecificOutputView.cs (revision fa26bb05c3ea2b4a3b549d9438e2081daee246ae)
@@ -0,0 +1,49 @@
+// Copyright (C) Stichting Deltares 2019. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System;
+using Riskeer.Common.Data.IllustrationPoints;
+using Riskeer.Common.Forms.Views;
+using Riskeer.Piping.Data.Probabilistic;
+
+namespace Riskeer.Piping.Forms.Views
+{
+ ///
+ /// Override of for making output views for
+ /// uniquely identifiable (when it comes
+ /// to opening/closing views).
+ ///
+ public class ProbabilisticSubMechanismPipingSectionSpecificOutputView : GeneralResultSubMechanismIllustrationPointView
+ {
+ ///
+ /// Creates a new instance of .
+ ///
+ /// The calculation to show the illustration points for.
+ /// A for obtaining the illustration point
+ /// data ( with objects)
+ /// that must be presented.
+ /// Thrown when any parameter is null.
+ public ProbabilisticSubMechanismPipingSectionSpecificOutputView(
+ ProbabilisticPipingCalculationScenario calculation,
+ Func> getGeneralResultFunc)
+ : base(calculation, getGeneralResultFunc) {}
+ }
+}
\ No newline at end of file
Index: Riskeer/Piping/test/Riskeer.Piping.Forms.Test/Views/ProbabilisticSubMechanismPipingProfileSpecificOutputViewTest.cs
===================================================================
diff -u
--- Riskeer/Piping/test/Riskeer.Piping.Forms.Test/Views/ProbabilisticSubMechanismPipingProfileSpecificOutputViewTest.cs (revision 0)
+++ Riskeer/Piping/test/Riskeer.Piping.Forms.Test/Views/ProbabilisticSubMechanismPipingProfileSpecificOutputViewTest.cs (revision fa26bb05c3ea2b4a3b549d9438e2081daee246ae)
@@ -0,0 +1,47 @@
+// Copyright (C) Stichting Deltares 2019. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System.Threading;
+using NUnit.Framework;
+using Riskeer.Common.Data.TestUtil.IllustrationPoints;
+using Riskeer.Common.Forms.Views;
+using Riskeer.Piping.Data.Probabilistic;
+using Riskeer.Piping.Forms.Views;
+
+namespace Riskeer.Piping.Forms.Test.Views
+{
+ [TestFixture]
+ [Apartment(ApartmentState.STA)]
+ public class ProbabilisticSubMechanismPipingProfileSpecificOutputViewTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Call
+ var view = new ProbabilisticSubMechanismPipingProfileSpecificOutputView(
+ new ProbabilisticPipingCalculationScenario(),
+ () => new TestGeneralResultSubMechanismIllustrationPoint());
+
+ // Assert
+ Assert.IsInstanceOf(view);
+ }
+ }
+}
\ No newline at end of file
Index: Riskeer/Piping/test/Riskeer.Piping.Forms.Test/Views/ProbabilisticSubMechanismPipingSectionSpecificOutputViewTest.cs
===================================================================
diff -u
--- Riskeer/Piping/test/Riskeer.Piping.Forms.Test/Views/ProbabilisticSubMechanismPipingSectionSpecificOutputViewTest.cs (revision 0)
+++ Riskeer/Piping/test/Riskeer.Piping.Forms.Test/Views/ProbabilisticSubMechanismPipingSectionSpecificOutputViewTest.cs (revision fa26bb05c3ea2b4a3b549d9438e2081daee246ae)
@@ -0,0 +1,47 @@
+// Copyright (C) Stichting Deltares 2019. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System.Threading;
+using NUnit.Framework;
+using Riskeer.Common.Data.TestUtil.IllustrationPoints;
+using Riskeer.Common.Forms.Views;
+using Riskeer.Piping.Data.Probabilistic;
+using Riskeer.Piping.Forms.Views;
+
+namespace Riskeer.Piping.Forms.Test.Views
+{
+ [TestFixture]
+ [Apartment(ApartmentState.STA)]
+ public class ProbabilisticSubMechanismPipingSectionSpecificOutputViewTest
+ {
+ [Test]
+ public void Constructor_ExpectedValues()
+ {
+ // Call
+ var view = new ProbabilisticSubMechanismPipingSectionSpecificOutputView(
+ new ProbabilisticPipingCalculationScenario(),
+ () => new TestGeneralResultSubMechanismIllustrationPoint());
+
+ // Assert
+ Assert.IsInstanceOf(view);
+ }
+ }
+}
\ No newline at end of file