Class DevicePoolViewModel
A view model to manage a quality pass device pool.
Inheritance
DevicePoolViewModel
Implements
Inherited Members
Namespace: Phoenix.BotBrain.Overmind
Assembly: Phoenix.Plugin.BotBrain.Overmind.dll
Syntax
public class DevicePoolViewModel : ListViewModel<DeviceInfo>, INotifyPropertyChanged, IReadOnlyCollection<DeviceInfo>, IEnumerable<DeviceInfo>, IEnumerable, INotifyCollectionChanged, IListViewModel, ICanMoveItemsWithin, ICanMoveItemsTo, IDisposable
Constructors
View SourceDevicePoolViewModel(IOvermindView, IDeviceManager, Transient<EventSubscriber>, IServiceProvider?)
Initializes a new instance of the DevicePoolViewModel class.
Declaration
public DevicePoolViewModel(IOvermindView view, IDeviceManager deviceManager, Transient<EventSubscriber> eventSubscriber, IServiceProvider? services = null)
Parameters
Type | Name | Description |
---|---|---|
IOvermindView | view | The overmind view. |
IDeviceManager | deviceManager | The Phoenix device manager. |
Transient<EventSubscriber> | eventSubscriber | The event subscriber for device events. |
IServiceProvider | services | The service provider for creating items. |
Properties
View SourceAddSelectedDevicesCommand
Gets the command to add the selected devices from Phoenix's list to the pool.
Declaration
public DelegateCommand AddSelectedDevicesCommand { get; }
Property Value
Type | Description |
---|---|
DelegateCommand |
CanAddSelected
Gets a value indicating whether or not the selected devices can be added to the pool.
Declaration
public bool CanAddSelected { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
View SourceDispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()