DialogExpressionConverter class

Dialog expression converter that implements Converter.

Constructors

DialogExpressionConverter(ResourceExplorer)

Initializes a new instance of the DialogExpressionConverter class.

Methods

convert(Input | DialogExpression)

Converts an object or string to a DialogExpression instance.

Constructor Details

DialogExpressionConverter(ResourceExplorer)

Initializes a new instance of the DialogExpressionConverter class.

new DialogExpressionConverter(_resourceExplorer: ResourceExplorer)

Parameters

_resourceExplorer

ResourceExplorer

Resource explorer to use for resolving references.

Method Details

convert(Input | DialogExpression)

Converts an object or string to a DialogExpression instance.

function convert(value: Input | DialogExpression): DialogExpression

Parameters

value

Input | DialogExpression

An object or string value.

Returns

A new DialogExpression instance.