Method ShowDialog
ShowDialog<T>(IWindowDialogService, IBaseDialogParameter)
Shows a dialog of type T with the specified dialog parameter.
public static void ShowDialog<T>(this IWindowDialogService dialogService, IBaseDialogParameter parameter)
Parameters
dialogServiceIWindowDialogServiceThe IWindowDialogService instance.
parameterIBaseDialogParameterThe dialog parameter.
Type Parameters
TThe type of the dialog.
ShowDialog<T>(IWindowDialogService, IBaseDialogParameter, Action<IDialogResult>)
Shows a dialog of type T with the specified dialog parameter and callback action.
public static void ShowDialog<T>(this IWindowDialogService dialogService, IBaseDialogParameter parameter, Action<IDialogResult> callback)
Parameters
dialogServiceIWindowDialogServiceThe IWindowDialogService instance.
parameterIBaseDialogParameterThe dialog parameter.
callbackAction<IDialogResult>The callback action to be executed after the dialog is closed.
Type Parameters
TThe type of the dialog.
ShowDialog(IWindowDialogService, string, IBaseDialogParameter)
Shows a dialog with the specified view name and dialog parameter.
public static void ShowDialog(this IWindowDialogService dialogService, string viewName, IBaseDialogParameter parameter)
Parameters
dialogServiceIWindowDialogServiceThe IWindowDialogService instance.
viewNamestringThe name of the view to be shown.
parameterIBaseDialogParameterThe dialog parameter.
ShowDialog(IWindowDialogService, string, IBaseDialogParameter, Action<IDialogResult>)
Shows a dialog with the specified view name, dialog parameter, and callback action.
public static void ShowDialog(this IWindowDialogService dialogService, string viewName, IBaseDialogParameter parameter, Action<IDialogResult> callback)
Parameters
dialogServiceIWindowDialogServiceThe IWindowDialogService instance.
viewNamestringThe name of the view to be shown.
parameterIBaseDialogParameterThe dialog parameter.
callbackAction<IDialogResult>The callback action to be executed after the dialog is closed.