C# Class AppStore.Models.QuizModel

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

Méthodes publiques

Свойство Type Description
mQuizModel QuizModel

Méthodes publiques

Méthode Description
clearInstance ( ) : void

Clears the Instance of the Quiz App-Template.

getInstance ( ) : QuizModel

Gets the Instance of the Quiz App-Template.

getQueAnsList ( ) : List

Gets the List of Questions

getQuizAuthor ( ) : string

Gets the Author of the Quiz

getQuizDescription ( ) : string

Gets the Description of the quiz

getQuizName ( ) : string

Gets the Name of the Quiz

getQuizVersion ( ) : string

Gets the Version of the Quiz

getTotalCorrect ( ) : int

Gets the total number of correct answers

getTotalWrong ( ) : int

Gets the total number of Wrong answers

setQueAnsList ( List mQueAnsList ) : void

Sets the list of Questions

setQuizAuthor ( string mQuizAuthor ) : void

Sets the Author of the quiz

setQuizAuthorEmail ( string mQuizAuthorEmail ) : void

Gets the Author Email of the Quiz

setQuizDescription ( string mQuizDescription ) : void

Sets the Description of the Quiz

setQuizName ( string mQuizName ) : void

Sets the name of the Quiz

setQuizVersion ( string mQuizVersion ) : void

Sets the version of the Quiz

setTotalCorrect ( int totalCorrect ) : void

Sets the total correct answers by the user.

setTotalWrong ( int totalWrong ) : void

Sets the total number of wrong answers

Method Details

clearInstance() public static méthode

Clears the Instance of the Quiz App-Template.
public static clearInstance ( ) : void
Résultat void

getInstance() public static méthode

Gets the Instance of the Quiz App-Template.
public static getInstance ( ) : QuizModel
Résultat QuizModel

getQueAnsList() public méthode

Gets the List of Questions
public getQueAnsList ( ) : List
Résultat List

getQuizAuthor() public méthode

Gets the Author of the Quiz
public getQuizAuthor ( ) : string
Résultat string

getQuizDescription() public méthode

Gets the Description of the quiz
public getQuizDescription ( ) : string
Résultat string

getQuizName() public méthode

Gets the Name of the Quiz
public getQuizName ( ) : string
Résultat string

getQuizVersion() public méthode

Gets the Version of the Quiz
public getQuizVersion ( ) : string
Résultat string

getTotalCorrect() public méthode

Gets the total number of correct answers
public getTotalCorrect ( ) : int
Résultat int

getTotalWrong() public méthode

Gets the total number of Wrong answers
public getTotalWrong ( ) : int
Résultat int

setQueAnsList() public méthode

Sets the list of Questions
public setQueAnsList ( List mQueAnsList ) : void
mQueAnsList List List of Question Objects
Résultat void

setQuizAuthor() public méthode

Sets the Author of the quiz
public setQuizAuthor ( string mQuizAuthor ) : void
mQuizAuthor string Author of the Quiz
Résultat void

setQuizAuthorEmail() public méthode

Gets the Author Email of the Quiz
public setQuizAuthorEmail ( string mQuizAuthorEmail ) : void
mQuizAuthorEmail string
Résultat void

setQuizDescription() public méthode

Sets the Description of the Quiz
public setQuizDescription ( string mQuizDescription ) : void
mQuizDescription string Description of the Quiz
Résultat void

setQuizName() public méthode

Sets the name of the Quiz
public setQuizName ( string mQuizName ) : void
mQuizName string Name of the Quiz
Résultat void

setQuizVersion() public méthode

Sets the version of the Quiz
public setQuizVersion ( string mQuizVersion ) : void
mQuizVersion string Version of the Quiz
Résultat void

setTotalCorrect() public méthode

Sets the total correct answers by the user.
public setTotalCorrect ( int totalCorrect ) : void
totalCorrect int Total number of correct answers
Résultat void

setTotalWrong() public méthode

Sets the total number of wrong answers
public setTotalWrong ( int totalWrong ) : void
totalWrong int Number of wrong answers
Résultat void

Property Details

mQuizModel public_oe static_oe property

public static QuizModel,AppStore.Models mQuizModel
Résultat QuizModel