Example #1
0
        public GaugeSettings Create(GaugeSlot slot)
        {
            var s = Create(slot.PrimaryGauge);

            if (slot.SecondaryGauge.HasValue)
            {
                s.SecondaryGauge = Create(slot.SecondaryGauge.Value);
            }
            return(s);
        }
Example #2
0
 public GaugeWatcher CreateWatcher(GaugeSlot slot)
 {
     return(new GaugeWatcher(Create(slot)));
 }