C# Class Askme.Domain.Question

Exibir arquivo Open project: bagheera/askme Class Usage Examples

Public Methods

Method Description
AcceptSolution ( Answer answer ) : void
AddAnswer ( Answer answer ) : void
AddTags ( Tag tag ) : void
CastVote ( QuestionVote vote ) : void
Equals ( Question other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetVotes ( ) : Votes
IsOwner ( User asker ) : bool
Question ( ) : System
Question ( string text, User user ) : System

Private Methods

Method Description
AssignPointForAcceptingAnswer ( ) : void

Method Details

AcceptSolution() public method

public AcceptSolution ( Answer answer ) : void
answer Answer
return void

AddAnswer() public method

public AddAnswer ( Answer answer ) : void
answer Answer
return void

AddTags() public method

public AddTags ( Tag tag ) : void
tag Tag
return void

CastVote() public method

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

Equals() public method

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

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetVotes() public method

public GetVotes ( ) : Votes
return Votes

IsOwner() public method

public IsOwner ( User asker ) : bool
asker User
return bool

Question() public method

public Question ( ) : System
return System

Question() public method

public Question ( string text, User user ) : System
text string
user User
return System