C# Class Askme.Domain.User

Show file Open project: bagheera/askme Class Usage Examples

Public Methods

Method Description
AcceptAnswer ( Question question, Answer answer ) : void
AddPoint ( int i ) : void
Equals ( User other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Points ( ) : int
Register ( IRepository repository ) : bool
User ( string username, string password, string emailId ) : System

Protected Methods

Method Description
User ( ) : System

Method Details

AcceptAnswer() public method

public AcceptAnswer ( Question question, Answer answer ) : void
question Question
answer Answer
return void

AddPoint() public method

public AddPoint ( int i ) : void
i int
return void

Equals() public method

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

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

Points() public method

public Points ( ) : int
return int

Register() public method

public Register ( IRepository repository ) : bool
repository IRepository
return bool

User() protected method

protected User ( ) : System
return System

User() public method

public User ( string username, string password, string emailId ) : System
username string
password string
emailId string
return System