Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Data/GeneralWaveConditionsInput.cs
===================================================================
diff -u -rae93bd6b8ccbffa91f7c5c10e898736b5919b73d -rb15268001c06a569fb2f63e9615ac86ebf3fc7c5
--- Ringtoets/Revetment/src/Ringtoets.Revetment.Data/GeneralWaveConditionsInput.cs (.../GeneralWaveConditionsInput.cs) (revision ae93bd6b8ccbffa91f7c5c10e898736b5919b73d)
+++ Ringtoets/Revetment/src/Ringtoets.Revetment.Data/GeneralWaveConditionsInput.cs (.../GeneralWaveConditionsInput.cs) (revision b15268001c06a569fb2f63e9615ac86ebf3fc7c5)
@@ -28,10 +28,6 @@
///
public class GeneralWaveConditionsInput
{
- private readonly RoundedDouble a;
- private readonly RoundedDouble b;
- private readonly RoundedDouble c;
-
///
/// Creates a new instance of .
///
@@ -40,42 +36,24 @@
/// The 'c' parameter used in wave conditions calculations.
public GeneralWaveConditionsInput(double a, double b, double c)
{
- this.a = new RoundedDouble(2, a);
- this.b = new RoundedDouble(2, b);
- this.c = new RoundedDouble(2, c);
+ A = new RoundedDouble(2, a);
+ B = new RoundedDouble(2, b);
+ C = new RoundedDouble(2, c);
}
///
/// Gets the 'a' parameter used in wave conditions calculations.
///
- public RoundedDouble A
- {
- get
- {
- return a;
- }
- }
+ public RoundedDouble A { get; }
///
/// Gets the 'b' parameter used in wave conditions calculations.
///
- public RoundedDouble B
- {
- get
- {
- return b;
- }
- }
+ public RoundedDouble B { get; }
///
/// Gets the 'c' parameter used in wave conditions calculations.
///
- public RoundedDouble C
- {
- get
- {
- return c;
- }
- }
+ public RoundedDouble C { get; }
}
}
\ No newline at end of file