C# Class AppStore.Models.Card

It is related to the FlashCard App-Template. It is the model of cards.
Afficher le fichier Open project: BuildmLearn/BuildmLearn-Store Class Usage Examples

Méthodes publiques

Méthode Description
Card ( string question, string answer, string hint, string imagePath )

Public constructor

getAnswer ( ) : string

Gets the answer.

getHint ( ) : string

Gets the hint

getImagePath ( ) : string

Gets the ImagePath

getQuestion ( ) : string

Gets the question.

setAnswer ( string mAnswer ) : void

Sets the answer

setHint ( string mHint ) : void

Sets the hint

setImagePath ( string mImagePath ) : void

Sets the ImagePath

setQuestion ( string mQuestion ) : void

Sets the Question.

Method Details

Card() public méthode

Public constructor
public Card ( string question, string answer, string hint, string imagePath )
question string String question
answer string String answer
hint string String hint
imagePath string String imagePath

getAnswer() public méthode

Gets the answer.
public getAnswer ( ) : string
Résultat string

getHint() public méthode

Gets the hint
public getHint ( ) : string
Résultat string

getImagePath() public méthode

Gets the ImagePath
public getImagePath ( ) : string
Résultat string

getQuestion() public méthode

Gets the question.
public getQuestion ( ) : string
Résultat string

setAnswer() public méthode

Sets the answer
public setAnswer ( string mAnswer ) : void
mAnswer string String answer
Résultat void

setHint() public méthode

Sets the hint
public setHint ( string mHint ) : void
mHint string
Résultat void

setImagePath() public méthode

Sets the ImagePath
public setImagePath ( string mImagePath ) : void
mImagePath string
Résultat void

setQuestion() public méthode

Sets the Question.
public setQuestion ( string mQuestion ) : void
mQuestion string String Question
Résultat void