C# Class PhotoSharingApp.Universal.Views.MessageDialogService

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

Méthodes publiques

Méthode 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 méthode

The constructor.
public MessageDialogService ( ) : System
Résultat System

ShowGenericServiceErrorNotification() public méthode

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

ShowNotification() public méthode

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. ///
Résultat System.Threading.Tasks.Task

ShowYesNoNotification() public méthode

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. ///
Résultat Task