C# Class JimBobBennett.MvvmLight.AppCompat.AppCompatDialogService

Inheritance: IDialogService
Datei anzeigen Open project: jimbobbennett/JimBobBennett.MvvmLight.AppCompat

Public Methods

Method Description
ShowError ( Exception error, string title, string buttonText, System.Action afterHideCallback ) : System.Threading.Tasks.Task
ShowError ( string message, string title, string buttonText, System.Action afterHideCallback ) : System.Threading.Tasks.Task
ShowMessage ( string message, string title ) : System.Threading.Tasks.Task
ShowMessage ( string message, string title, string buttonText, System.Action afterHideCallback ) : System.Threading.Tasks.Task
ShowMessage ( string message, string title, string buttonConfirmText, string buttonCancelText, Action afterHideCallback ) : Task
ShowMessageBox ( string message, string title ) : System.Threading.Tasks.Task

Private Methods

Method Description
CreateDialog ( string content, string title, string okText = null, string cancelText = null, Action afterHideCallbackWithResponse = null ) : AlertDialogInfo

Method Details

ShowError() public method

public ShowError ( Exception error, string title, string buttonText, System.Action afterHideCallback ) : System.Threading.Tasks.Task
error System.Exception
title string
buttonText string
afterHideCallback System.Action
return System.Threading.Tasks.Task

ShowError() public method

public ShowError ( string message, string title, string buttonText, System.Action afterHideCallback ) : System.Threading.Tasks.Task
message string
title string
buttonText string
afterHideCallback System.Action
return System.Threading.Tasks.Task

ShowMessage() public method

public ShowMessage ( string message, string title ) : System.Threading.Tasks.Task
message string
title string
return System.Threading.Tasks.Task

ShowMessage() public method

public ShowMessage ( string message, string title, string buttonText, System.Action afterHideCallback ) : System.Threading.Tasks.Task
message string
title string
buttonText string
afterHideCallback System.Action
return System.Threading.Tasks.Task

ShowMessage() public method

public ShowMessage ( string message, string title, string buttonConfirmText, string buttonCancelText, Action afterHideCallback ) : Task
message string
title string
buttonConfirmText string
buttonCancelText string
afterHideCallback Action
return Task

ShowMessageBox() public method

public ShowMessageBox ( string message, string title ) : System.Threading.Tasks.Task
message string
title string
return System.Threading.Tasks.Task