RecognizerConverter class

Recognizer converter that implements Converter.

Constructors

RecognizerConverter(ResourceExplorer)

Initializes a new instance of the RecognizerConverter class.

Methods

convert(string | Recognizer)

Converts an object or string to a Recognizer instance.

Constructor Details

RecognizerConverter(ResourceExplorer)

Initializes a new instance of the RecognizerConverter class.

new RecognizerConverter(_resourceExplorer: ResourceExplorer)

Parameters

_resourceExplorer

ResourceExplorer

Resource explorer to use for resolving references.

Method Details

convert(string | Recognizer)

Converts an object or string to a Recognizer instance.

function convert(value: string | Recognizer): Recognizer

Parameters

value

string | Recognizer

An object or string value.

Returns

Recognizer

A new Recognizer instance.