Class BugDevicesViewModel
A class for managing devices associated with a bug.
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class BugDevicesViewModel : BindableBase, INotifyPropertyChanged, IBugDevices
Constructors
View SourceBugDevicesViewModel()
Initializes a new instance of the BugDevicesViewModel class.
Declaration
public BugDevicesViewModel()
Properties
View SourceAddDeviceToBugCommand
Gets the command for adding a device to associate with a bug.
Declaration
public ICommand AddDeviceToBugCommand { get; }
Property Value
Type | Description |
---|---|
ICommand |
AssociatedDevices
Gets the devices associated with this bug.
Declaration
public ObservableCollection<IGameDevice> AssociatedDevices { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<IGameDevice> |
ConnectedAssociatedDevices
Gets the list of connected devices associated with this bug.
Declaration
public ObservableCollection<IGameDevice> ConnectedAssociatedDevices { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<IGameDevice> |
ConnectedDevices
Gets the IBugDevices interface implementation of the connected associated devices list.
Declaration
public List<IGameDevice> ConnectedDevices { get; }
Property Value
Type | Description |
---|---|
List<IGameDevice> |
Devices
Gets the IBugDevices interface implementation of the associated devices list.
Declaration
public List<IGameDevice> Devices { get; }
Property Value
Type | Description |
---|---|
List<IGameDevice> |
RemoveDeviceFromBugCommand
Gets the command for removing a device from being associated with a bug.
Declaration
public ICommand RemoveDeviceFromBugCommand { get; }
Property Value
Type | Description |
---|---|
ICommand |
Methods
View SourceInitialize(BugCreationViewModel, Guid, ObservableCollection<IGameDevice>)
Initializes the data managed by the Bug Devices VM.
Declaration
public void Initialize(BugCreationViewModel parent, Guid bugResolveGuid, ObservableCollection<IGameDevice> devices)
Parameters
Type | Name | Description |
---|---|---|
BugCreationViewModel | parent | The BugCreationViewModel this object belongs to. |
Guid | bugResolveGuid | The bug resolve guid associated with these devices. |
ObservableCollection<IGameDevice> | devices | A list of devices associated with the current bug. |
RaiseDevicesPropertyChanged()
Raises the property changed on the AssociatedDevices member.
Declaration
public void RaiseDevicesPropertyChanged()
UpdateDevicesInGameClient()
Updates the device list for this bug in the GameClientManager.
Declaration
public void UpdateDevicesInGameClient()