public GaugeSettings Create(GaugeSlot slot) { var s = Create(slot.PrimaryGauge); if (slot.SecondaryGauge.HasValue) { s.SecondaryGauge = Create(slot.SecondaryGauge.Value); } return(s); }
public GaugeWatcher CreateWatcher(GaugeSlot slot) { return(new GaugeWatcher(Create(slot))); }