C# Class AppStore.Models.Question

It is related to the Quiz App-Template. It is model for questions.
Show file Open project: BuildmLearn/BuildmLearn-Store Class Usage Examples

Public Methods

Method Description
getAnswerOption ( ) : List

Gets the AnswerOption of the current QuizModel Object

getOptionNumber ( ) : int

Gets the OptionNumber of the current QuizModel Object

getQuestion ( ) : string

Gets the Question of the current QuizModel Object

setAnswerOption ( List mAnswerOption ) : void

Sets the AnswerOption of the current QuizModel Object

setOptionNumber ( int mOptionNumber ) : void

Sets the Option Number of the current QuizModel Object

setQuestion ( string mQuestion ) : void

Sets the Question of the current QuizModel Object

Method Details

getAnswerOption() public method

Gets the AnswerOption of the current QuizModel Object
public getAnswerOption ( ) : List
return List

getOptionNumber() public method

Gets the OptionNumber of the current QuizModel Object
public getOptionNumber ( ) : int
return int

getQuestion() public method

Gets the Question of the current QuizModel Object
public getQuestion ( ) : string
return string

setAnswerOption() public method

Sets the AnswerOption of the current QuizModel Object
public setAnswerOption ( List mAnswerOption ) : void
mAnswerOption List AnswerOption of the current QuizModel Object
return void

setOptionNumber() public method

Sets the Option Number of the current QuizModel Object
public setOptionNumber ( int mOptionNumber ) : void
mOptionNumber int OptionNumber of the current QuizModel Object
return void

setQuestion() public method

Sets the Question of the current QuizModel Object
public setQuestion ( string mQuestion ) : void
mQuestion string Question of the current QuizModel Object
return void