Language
Edit

ArduinoBoard.GetCommandHandler<T> Method

Definition

Gets the command handler with the provided type. An exact type match is performed.

public T? GetCommandHandler<T>() where T : Iot.Device.Arduino.ExtendedCommandHandler;
member this.GetCommandHandler : unit -> 'T (requires 'T :> Iot.Device.Arduino.ExtendedCommandHandler)
Public Function GetCommandHandler(Of T As ExtendedCommandHandler) () As T

Type Parameters

T

The type to query

Returns

T

The command handler, or null if none was found

Applies to