C# Class PhotoSharingApp.Universal.Views.MessageDialogService

A dialog service that uses MessageDialog for showing messages to the user.
Inheritance: IDialogService
Mostrar archivo Open project: Microsoft/Appsample-Photosharing

Public Methods

Method Description
MessageDialogService ( ) : System

The constructor.

ShowGenericServiceErrorNotification ( ) : System.Threading.Tasks.Task

Shows a notification that there is an issue with communicating to the service.

ShowNotification ( string message, string title, bool useResourceLoader = true ) : System.Threading.Tasks.Task

Shows the notification.

ShowYesNoNotification ( string message, string title, bool useResourceLoader = true ) : Task

Shows a notification that lets the user choose between yes and no.

Method Details

MessageDialogService() public method

The constructor.
public MessageDialogService ( ) : System
return System

ShowGenericServiceErrorNotification() public method

Shows a notification that there is an issue with communicating to the service.
public ShowGenericServiceErrorNotification ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

ShowNotification() public method

Shows the notification.
public ShowNotification ( string message, string title, bool useResourceLoader = true ) : System.Threading.Tasks.Task
message string The message.
title string The title.
useResourceLoader bool /// if set to true the message and title /// parameters specify the resource id. ///
return System.Threading.Tasks.Task

ShowYesNoNotification() public method

Shows a notification that lets the user choose between yes and no.
public ShowYesNoNotification ( string message, string title, bool useResourceLoader = true ) : Task
message string The message.
title string The title.
useResourceLoader bool /// if set to true the message and title /// parameters specify the resource id. ///
return Task