public VMSelectable(Controller c, VMMain mainVM, Input i) : this(c, mainVM) { _Name = i.Param; DisplayName = i.Title; ImageUri = string.Format("http://{0}{1}", TheController.Address, i.IconOn); SelectionType = VMSelectableType.Input; }
public VMSelectable(Controller c, VMMain mainVM, Scene s) : this(c, mainVM) { _Name = s.Name; DisplayName = s.DisplayName; ImageUri = SelectSceneImageUri(s.Name); SelectionType = VMSelectableType.Scene; }
public VMSelectable(Controller c, VMMain mainVM, Zone zone, string imageUri) : this(c, mainVM) { _Name = zone.Name; DisplayName = zone.DisplayName; ImageUri = imageUri; SelectionType = VMSelectableType.Zone; }
public VMSelectable(Controller c, VMMain mainVM, string name, string displayName, string imagePath, VMSelectableType type) : base(c) { _Name = name; _Main = mainVM; ImageUri = imagePath; DisplayName = displayName; SelectionType = type; }
protected VMSelectable(Controller c, VMMain mainVM) : base(c) { _Main = mainVM; }
public VMZone(VMMain main, Zone zone, Controller c, string imageUri) : base(c) { MainVM = main; Update(zone, imageUri); }