C# 클래스 O365_WinPhone_ArtCurator.AppViewModel

상속: INotifyPropertyChanged
파일 보기 프로젝트 열기: OfficeDev/O365-WinPhone-ArtCurator 1 사용 예제들

공개 메소드들

메소드 설명
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