MultipleStatesConfirmDialog Class

A modal dialog that extends the ConfirmDialog to allow for multiple response.

Definition

Namespace: MobileTrack.Web.Components.Components
Assembly: MobileTrack.Web.Components (in MobileTrack.Web.Components.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public sealed class MultipleStatesConfirmDialog : BlazorBootstrapComponentBase, 
	IHasLocalization
Inheritance
Object    ComponentBase    BlazorBootstrapComponentBase    MultipleStatesConfirmDialog
Implements
IHasLocalization

Constructors

MultipleStatesConfirmDialogInitializes a new instance of the MultipleStatesConfirmDialog class

Properties

JsRuntime Dependency injected Javascript Runtime
Loc Dependency injection for the localization tool. It derives texts established in CosmosDB's "LocalizedStrings" container. It can be used by invoking it as an array, with the key of the text you want to get. Parameters for the string can be added in the array as well, similar to Format(String, Object).
If the text is not found, it will return the key itself as fallback.

The language the key will be localized based on is based on the CurrentCulture and the CurrentUICulture.
If you want to localize something in a different language, you will have to apply the culture on the CultureInfo properties, get the text,
and revert back to the original culture.

Methods

SetParametersAsync Parameters are loaded manually for sake of performance; if we were to use System.Reflection magic, it would hurt performance if components were used in large numbers.
(Overrides ComponentBaseSetParametersAsync(ParameterView))
ShowAsync(String, String, MultipleStateConfirmDialogOptions, Boolean) Shows the confirm dialog with the specified title and message.
ShowAsync(String, String, String, MultipleStateConfirmDialogOptions, Boolean) Shows the confirm dialog with the specified title and messages.

See Also