C# Class AppStore.Models.QuizModel

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

Public Properties

Property Type Description
mQuizModel QuizModel

Public Methods

Method 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 method

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

getInstance() public static method

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

getQueAnsList() public method

Gets the List of Questions
public getQueAnsList ( ) : List
return List

getQuizAuthor() public method

Gets the Author of the Quiz
public getQuizAuthor ( ) : string
return string

getQuizDescription() public method

Gets the Description of the quiz
public getQuizDescription ( ) : string
return string

getQuizName() public method

Gets the Name of the Quiz
public getQuizName ( ) : string
return string

getQuizVersion() public method

Gets the Version of the Quiz
public getQuizVersion ( ) : string
return string

getTotalCorrect() public method

Gets the total number of correct answers
public getTotalCorrect ( ) : int
return int

getTotalWrong() public method

Gets the total number of Wrong answers
public getTotalWrong ( ) : int
return int

setQueAnsList() public method

Sets the list of Questions
public setQueAnsList ( List mQueAnsList ) : void
mQueAnsList List List of Question Objects
return void

setQuizAuthor() public method

Sets the Author of the quiz
public setQuizAuthor ( string mQuizAuthor ) : void
mQuizAuthor string Author of the Quiz
return void

setQuizAuthorEmail() public method

Gets the Author Email of the Quiz
public setQuizAuthorEmail ( string mQuizAuthorEmail ) : void
mQuizAuthorEmail string
return void

setQuizDescription() public method

Sets the Description of the Quiz
public setQuizDescription ( string mQuizDescription ) : void
mQuizDescription string Description of the Quiz
return void

setQuizName() public method

Sets the name of the Quiz
public setQuizName ( string mQuizName ) : void
mQuizName string Name of the Quiz
return void

setQuizVersion() public method

Sets the version of the Quiz
public setQuizVersion ( string mQuizVersion ) : void
mQuizVersion string Version of the Quiz
return void

setTotalCorrect() public method

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

setTotalWrong() public method

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

Property Details

mQuizModel public_oe static_oe property

public static QuizModel,AppStore.Models mQuizModel
return QuizModel