Class DeviceCheckCommand
Represents a device check command.
Inheritance
System.Object
DeviceCheckCommand
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Phoenix.DeviceCommands
Assembly: Phoenix.Abstractions.Devices.dll
Syntax
public class DeviceCheckCommand
Constructors
View SourceDeviceCheckCommand(Collection<IDevice>, String)
Initializes a new instance of the DeviceCheckCommand class.
Declaration
public DeviceCheckCommand(Collection<IDevice> devices, string label)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.ObjectModel.Collection<IDevice> | devices | The devices to execute this check command on. |
System.String | label | The label of the command. |
Properties
View SourceDevices
Gets the collection of devices to check.
Declaration
public Collection<IDevice> Devices { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.Collection<IDevice> |
IsChecked
Gets or sets a value indicating whether the menu item should be checked.
Declaration
public bool IsChecked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Label
Gets the label of the command.
Declaration
public string Label { get; }
Property Value
Type | Description |
---|---|
System.String |