DeviceStatusChangedEventHandlerC, P Delegate |
When the status of the devices' connection changes
Namespace: Brainboxes.IOAssembly: Brainboxes.IO (in Brainboxes.IO.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public 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 IDeviceC, P
- The device whose connection status has changed
- property String
- The property which has changed either IsConnected or IsAvailable
- newValue Boolean
- 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