C# Class AppStore.Models.Card

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

Public Methods

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

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 method

Gets the answer.
public getAnswer ( ) : string
return string

getHint() public method

Gets the hint
public getHint ( ) : string
return string

getImagePath() public method

Gets the ImagePath
public getImagePath ( ) : string
return string

getQuestion() public method

Gets the question.
public getQuestion ( ) : string
return string

setAnswer() public method

Sets the answer
public setAnswer ( string mAnswer ) : void
mAnswer string String answer
return void

setHint() public method

Sets the hint
public setHint ( string mHint ) : void
mHint string
return void

setImagePath() public method

Sets the ImagePath
public setImagePath ( string mImagePath ) : void
mImagePath string
return void

setQuestion() public method

Sets the Question.
public setQuestion ( string mQuestion ) : void
mQuestion string String Question
return void