C# Class Askme.Domain.Question

Afficher le fichier Open project: bagheera/askme Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
AssignPointForAcceptingAnswer ( ) : void

Method Details

AcceptSolution() public méthode

public AcceptSolution ( Answer answer ) : void
answer Answer
Résultat void

AddAnswer() public méthode

public AddAnswer ( Answer answer ) : void
answer Answer
Résultat void

AddTags() public méthode

public AddTags ( Tag tag ) : void
tag Tag
Résultat void

CastVote() public méthode

public CastVote ( QuestionVote vote ) : void
vote QuestionVote
Résultat void

Equals() public méthode

public Equals ( Question other ) : bool
other Question
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetVotes() public méthode

public GetVotes ( ) : Votes
Résultat Votes

IsOwner() public méthode

public IsOwner ( User asker ) : bool
asker User
Résultat bool

Question() public méthode

public Question ( ) : System
Résultat System

Question() public méthode

public Question ( string text, User user ) : System
text string
user User
Résultat System