Interface IInteractionService
Provides methods that can be used to interact with the user.
Namespace: Algenta.Colectica.ViewModel
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public interface IInteractionService
Methods
ChooseSingleItemFromList(string, string, string[])
Prompts the user to choose an item from a list of choices.
Declaration
string ChooseSingleItemFromList(string title, string message, string[] choices)
Parameters
Type | Name | Description |
---|---|---|
string | title | The title of the dialog box. |
string | message | The message to be displayed to the user. |
string[] | choices | The list of choices from which the user will select. |
Returns
Type | Description |
---|---|
string | Returns the value chosen by the user. |