Language
Edit

ArduinoBoard.AddCommandHandler<T>(T) Method

Definition

Adds a new command handler. A command handler can support extended commands.

public void AddCommandHandler<T>(T newCommandHandler) where T : Iot.Device.Arduino.ExtendedCommandHandler;
member this.AddCommandHandler : 'T -> unit (requires 'T :> Iot.Device.Arduino.ExtendedCommandHandler)
Public Sub AddCommandHandler(Of T As ExtendedCommandHandler) (newCommandHandler As T)

Type Parameters

T

An instance of ExtendedCommandHandler.

Parameters

newCommandHandler
T

The new handler

Applies to