C# Class AppStore.Models.Question

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

Méthodes publiques

Méthode 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 méthode

Gets the AnswerOption of the current QuizModel Object
public getAnswerOption ( ) : List
Résultat List

getOptionNumber() public méthode

Gets the OptionNumber of the current QuizModel Object
public getOptionNumber ( ) : int
Résultat int

getQuestion() public méthode

Gets the Question of the current QuizModel Object
public getQuestion ( ) : string
Résultat string

setAnswerOption() public méthode

Sets the AnswerOption of the current QuizModel Object
public setAnswerOption ( List mAnswerOption ) : void
mAnswerOption List AnswerOption of the current QuizModel Object
Résultat void

setOptionNumber() public méthode

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

setQuestion() public méthode

Sets the Question of the current QuizModel Object
public setQuestion ( string mQuestion ) : void
mQuestion string Question of the current QuizModel Object
Résultat void