private WateringTimerViewController(DeviceDetailViewModel device, Action <IEnumerable <PumpViewModel>, int> waterSelectedStations) : base() { ExceptionUtility.Try(() => { this._device = device; this.Initialize(); if (waterSelectedStations != null) { this._waterSelectedStations = WeakReferenceUtility.MakeWeakAction(waterSelectedStations); } }); }
private CircuitsTimerViewController(DeviceDetailViewModel device, Action <int> testSelectedCircuits) : base() { ExceptionUtility.Try(() => { //this._device = device; this.Initialize(); if (testSelectedCircuits != null) { this._testSelectedCircuits = WeakReferenceUtility.MakeWeakAction(testSelectedCircuits); } }); }