C# Class Suteki.TardisBank.Domain.User

Inheritance: System.Entity
显示文件 Open project: sharparchitecture/Sharp-Architecture Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
GetRoles ( ) : string[]

Returns user roles.

ReadMessage ( int messageId ) : void
RemoveOldMessages ( ) : void
ResetPassword ( string newPassword ) : void
SendMessage ( string text, IMediator mediator ) : void

Protected Methods

Method Description
User ( ) : System
User ( string name, string userName, string password ) : System

Method Details

Activate() public method

public Activate ( ) : void
return void

GetRoles() public method

Returns user roles.
public GetRoles ( ) : string[]
return string[]

ReadMessage() public method

public ReadMessage ( int messageId ) : void
messageId int
return void

RemoveOldMessages() public method

public RemoveOldMessages ( ) : void
return void

ResetPassword() public method

public ResetPassword ( string newPassword ) : void
newPassword string
return void

SendMessage() public method

public SendMessage ( string text, IMediator mediator ) : void
text string
mediator IMediator
return void

User() protected method

protected User ( ) : System
return System

User() protected method

protected User ( string name, string userName, string password ) : System
name string
userName string
password string
return System