IDialogService
Here is an example that demonstrates the use of a IDialogService
component.
IDialogService Class
Methods
Name | Parameters | Type | Description |
---|---|---|---|
ShowConfirmationAsync | string message string primaryText string secondaryText string title | Task<DialogResult> | |
ShowErrorAsync | string message string title string primaryText | Task<DialogResult> | |
ShowInfoAsync | string message string title string primaryText | Task<DialogResult> | |
ShowSuccessAsync | string message string title string primaryText | Task<DialogResult> | |
ShowWarningAsync | string message string title string primaryText | Task<DialogResult> |
DialogResult Class
Properties
Name | Type | Default | Description |
---|---|---|---|
Cancelled | bool | False |
Methods
Name | Parameters | Type | Description |
---|---|---|---|
Cancel | Object data | DialogResult | |
Ok<T> | T result | DialogResult |