C# Class LearnLanguages.Study.ViewModels.StudyLineOrderTimedQuestionAnswerViewModel

Inheritance: StudyItemViewModelBase
Mostrar archivo Open project: ibgib/LearnLanguages Class Usage Examples

Public Methods

Method Description
Abort ( ) : void
Initialize ( LineEdit line, MultiLineTextEdit multiLineText ) : void
Show ( ExceptionCheckCallback callback ) : void
ShowAnswer ( ) : void
StudyLineOrderTimedQuestionAnswerViewModel ( ) : System

Protected Methods

Method Description
AskQuestion ( int questionDurationInMilliseconds, ExceptionCheckCallback callback ) : void

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

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

Private Methods

Method Description
HideAnswer ( ) : void

Method Details

Abort() public method

public Abort ( ) : void
return void

AskQuestion() protected method

Executes callback when answer is shown, or when exception is thrown.
protected AskQuestion ( int questionDurationInMilliseconds, ExceptionCheckCallback callback ) : void
questionDurationInMilliseconds int
callback ExceptionCheckCallback
return void

GetReviewMethodId() protected method

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

Initialize() public method

public Initialize ( LineEdit line, MultiLineTextEdit multiLineText ) : void
line LineEdit
multiLineText MultiLineTextEdit
return void

PopulateQuestionAndAnswer() protected method

protected PopulateQuestionAndAnswer ( ) : void
return void

Show() public method

public Show ( ExceptionCheckCallback callback ) : void
callback ExceptionCheckCallback
return void

ShowAnswer() public method

public ShowAnswer ( ) : void
return void

ShowAsyncImpl() protected method

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

StudyLineOrderTimedQuestionAnswerViewModel() public method

public StudyLineOrderTimedQuestionAnswerViewModel ( ) : System
return System