C# Class Compete.Model.Team

Inheritance: Entity
显示文件 Open project: aaronjensen/compete Class Usage Examples

Public Methods

Method Description
AddTeamMember ( TeamMember teamMember ) : void
Authenticate ( string passwordHash ) : bool
RemoveTeamMember ( TeamMember teamMember ) : void
Team ( string teamName, string longName, IEnumerable teamMembers, string passwordHash ) : System

Private Methods

Method Description
IsValidTeamName ( string name ) : bool

Method Details

AddTeamMember() public method

public AddTeamMember ( TeamMember teamMember ) : void
teamMember TeamMember
return void

Authenticate() public method

public Authenticate ( string passwordHash ) : bool
passwordHash string
return bool

RemoveTeamMember() public method

public RemoveTeamMember ( TeamMember teamMember ) : void
teamMember TeamMember
return void

Team() public method

public Team ( string teamName, string longName, IEnumerable teamMembers, string passwordHash ) : System
teamName string
longName string
teamMembers IEnumerable
passwordHash string
return System