C# Class Askme.Domain.Answer

Show file Open project: bagheera/askme Class Usage Examples

Public Methods

Method Description
AddPoint ( User user ) : void
Answer ( AskMeDate createdOn, User user, string text ) : System
CastVote ( AnswerVote vote ) : void
Equals ( Answer other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string

Protected Methods

Method Description
Answer ( ) : System

Method Details

AddPoint() public method

public AddPoint ( User user ) : void
user User
return void

Answer() protected method

protected Answer ( ) : System
return System

Answer() public method

public Answer ( AskMeDate createdOn, User user, string text ) : System
createdOn AskMeDate
user User
text string
return System

CastVote() public method

public CastVote ( AnswerVote vote ) : void
vote AnswerVote
return void

Equals() public method

public Equals ( Answer other ) : bool
other Answer
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ToString() public method

public ToString ( ) : string
return string