DialogListConverter class
Converter which allows json to be expression to object or static object.
Constructors
Dialog |
Initializes a new instance of the DialogListConverter class. |
Methods
convert(string[] | Dialog[]) |
Constructor Details
DialogListConverter(ResourceExplorer)
Initializes a new instance of the DialogListConverter class.
new DialogListConverter(_resourceExplorer: ResourceExplorer)
Parameters
- _resourceExplorer
-
ResourceExplorer
Resource explorer to use for resolving references.
Method Details
convert(string[] | Dialog[])
function convert(value: string[] | Dialog[]): Dialog[]
Parameters
- value
-
string[] | Dialog[]
A list of strings representing dialogs, or a list of dialogs.
Returns
Dialog[]
A new list of Dialog instance.