Index: DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/PLLines.cs =================================================================== diff -u -r4055 -r4056 --- DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/PLLines.cs (.../PLLines.cs) (revision 4055) +++ DamClients/DamUI/trunk/src/DamClientsLibrary/Deltares.Dam.Data/PLLines.cs (.../PLLines.cs) (revision 4056) @@ -22,27 +22,26 @@ using System; using System.Collections.Generic; -namespace Deltares.Dam.Data +namespace Deltares.Dam.Data; + +public class PLLines { - public class PLLines + public PLLines() { - public PLLines() + Lines = new Dictionary(); + foreach (PLLineType plLineType in Enum.GetValues(typeof(PLLineType))) { - Lines = new Dictionary(); - foreach (PLLineType plLineType in Enum.GetValues(typeof(PLLineType))) - { - Lines[plLineType] = new PLLine(); - } + Lines[plLineType] = new PLLine(); } + } - public IDictionary Lines { get; } + public IDictionary Lines { get; } - public int PLLineCount + public int PLLineCount + { + get { - get - { - return Enum.GetValues(typeof(PLLineType)).GetLength(0); - } + return Enum.GetValues(typeof(PLLineType)).GetLength(0); } } } \ No newline at end of file