C# Класс O365_WinPhone_ArtCurator.AppViewModel

Наследование: INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AppViewModel ( ) : Microsoft.IdentityModel.Clients.ActiveDirectory
Authenticate ( ) : void

Kicks off in-browser authentication flow.

AuthenticateSilenty ( ) : Task

Attempts to authenticate silently by using a cached token, thus bringing the user right to the app without having to go through the authentication process again.

GetMessages ( ) : void

Gets messages from the model.

PopulateInbox ( ) : Task

Send three emails with attachments to the user's inbox. This is done just to provide developers with sample content to demo the app properly.

Respond ( string actionType ) : Task

Respond based on actionType ("Like" or "Dislike") and settings.

Приватные методы

Метод Описание
RaisePropertyChanged ( [ propertyName = "" ) : void

Описание методов

AppViewModel() публичный Метод

public AppViewModel ( ) : Microsoft.IdentityModel.Clients.ActiveDirectory
Результат Microsoft.IdentityModel.Clients.ActiveDirectory

Authenticate() публичный Метод

Kicks off in-browser authentication flow.
public Authenticate ( ) : void
Результат void

AuthenticateSilenty() публичный Метод

Attempts to authenticate silently by using a cached token, thus bringing the user right to the app without having to go through the authentication process again.
public AuthenticateSilenty ( ) : Task
Результат Task

GetMessages() публичный Метод

Gets messages from the model.
public GetMessages ( ) : void
Результат void

PopulateInbox() публичный Метод

Send three emails with attachments to the user's inbox. This is done just to provide developers with sample content to demo the app properly.
public PopulateInbox ( ) : Task
Результат Task

Respond() публичный Метод

Respond based on actionType ("Like" or "Dislike") and settings.
public Respond ( string actionType ) : Task
actionType string "Like" or "Dislike".
Результат Task