DeviceStatusChangedEventHandlerC, P Delegate |
When the status of the devices' connection changes
Namespace:
Brainboxes.IO
Assembly:
Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.5.0.8
Syntaxpublic delegate void DeviceStatusChangedEventHandler<C, P>(
IDevice<C, P> device,
string property,
bool newValue
)
where C : IConnection
where P : IProtocol
Public Delegate Sub DeviceStatusChangedEventHandler(Of C As IConnection, P As IProtocol) (
device As IDevice(Of C, P),
property As String,
newValue As Boolean
)
type DeviceStatusChangedEventHandler =
delegate of
device : IDevice<'C, 'P> *
property : string *
newValue : bool -> unit
Parameters
- device
- Type: Brainboxes.IOIDeviceC, P
The device whose connection status has changed - property
- Type: SystemString
The property which has changed either IsConnected or IsAvailable - newValue
- Type: SystemBoolean
The new value of the property
Type Parameters
- C
[Missing <typeparam name="C"/> documentation for "T:Brainboxes.IO.DeviceStatusChangedEventHandler`2"]
- P
[Missing <typeparam name="P"/> documentation for "T:Brainboxes.IO.DeviceStatusChangedEventHandler`2"]
See Also