Skip to content

Commit 224d3ca

Browse files
committed
chore: remove unnecssary public setters
1 parent 201ccf0 commit 224d3ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Orts.Formats.Msts/CabViewFile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ public class CabViewControl
373373
public CABViewControlStyles ControlStyle = CABViewControlStyles.NONE;
374374
public CABViewControlUnits Units = CABViewControlUnits.NONE;
375375

376-
public bool DisabledIfLowVoltagePowerSupplyOff = false;
377-
public bool DisabledIfCabPowerSupplyOff = false;
376+
public bool DisabledIfLowVoltagePowerSupplyOff { get; private set; } = false;
377+
public bool DisabledIfCabPowerSupplyOff { get; private set; } = false;
378378

379379
protected void ParseType(STFReader stf)
380380
{

0 commit comments

Comments
 (0)