public static DoorSwitch Singleton() { if (_instance == null) { _instance = new DoorSwitch(); } if (_doorSwitchItems == null) { _doorSwitchItems = new List<DoorSwitchDTO>(); } return _instance; }
public static DoorSwitch Singleton() { if (_instance == null) { _instance = new DoorSwitch(); } if (_doorSwitchItems == null) { _doorSwitchItems = new List <DoorSwitchDTO>(); } return(_instance); }