C# Class LearnLanguages.Study.ViewModels.StudyPhraseTimedQuestionAnswerViewModel

Inheritance: StudyItemViewModelBase
显示文件 Open project: ibgib/LearnLanguages Class Usage Examples

Public Methods

Method Description
Abort ( ) : void
EditAnswer ( ) : void
EditQuestion ( ) : void
Initialize ( PhraseEdit question, PhraseEdit answer ) : void
ResearchAnswer ( ) : void
ResearchQuestion ( ) : void
SaveAnswer ( ) : System.Threading.Tasks.Task
SaveQuestion ( ) : System.Threading.Tasks.Task
ShowAnswer ( ) : void
StudyPhraseTimedQuestionAnswerViewModel ( ) : System

Protected Methods

Method Description
AskQuestionAsync ( PhraseEdit question, PhraseEdit answer, int questionDurationInMilliseconds ) : System.Threading.Tasks.Task

Executes callback when answer is shown, or when exception is thrown.

GetReviewMethodId ( ) : System.Guid
ShowAsyncImpl ( ) : System.Threading.Tasks.Task

Private Methods

Method Description
HideAnswer ( ) : void
UpdateEditAnswerButtonVisibilities ( ) : void
UpdateEditQuestionButtonVisibilities ( ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

AskQuestionAsync() protected method

Executes callback when answer is shown, or when exception is thrown.
protected AskQuestionAsync ( PhraseEdit question, PhraseEdit answer, int questionDurationInMilliseconds ) : System.Threading.Tasks.Task
question PhraseEdit Question PhraseEdit
answer PhraseEdit Answer PhraseEdit
questionDurationInMilliseconds int
return System.Threading.Tasks.Task

EditAnswer() public method

public EditAnswer ( ) : void
return void

EditQuestion() public method

public EditQuestion ( ) : void
return void

GetReviewMethodId() protected method

protected GetReviewMethodId ( ) : System.Guid
return System.Guid

Initialize() public method

public Initialize ( PhraseEdit question, PhraseEdit answer ) : void
question PhraseEdit
answer PhraseEdit
return void

ResearchAnswer() public method

public ResearchAnswer ( ) : void
return void

ResearchQuestion() public method

public ResearchQuestion ( ) : void
return void

SaveAnswer() public method

public SaveAnswer ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SaveQuestion() public method

public SaveQuestion ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

ShowAnswer() public method

public ShowAnswer ( ) : void
return void

ShowAsyncImpl() protected method

protected ShowAsyncImpl ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StudyPhraseTimedQuestionAnswerViewModel() public method

public StudyPhraseTimedQuestionAnswerViewModel ( ) : System
return System