C# Class NoBodyToBuild.SampleE.TeamMember

Mostra file Open project: yreynhout/NoBodyToBuild Class Usage Examples

Public Methods

Method Description
MustBeAMemberForAtLeastTwoYears ( ) : void
MustBePartOfTheTeam ( TeamId id ) : void
TeamMember ( TeamId teamId, TeamMemberId id, System.DateTime joinDate ) : System

Private Methods

Method Description
IsMemberSinceAtLeastTwoYears ( ) : bool
IsPartOf ( TeamId teamId ) : bool

Method Details

MustBeAMemberForAtLeastTwoYears() public method

public MustBeAMemberForAtLeastTwoYears ( ) : void
return void

MustBePartOfTheTeam() public method

public MustBePartOfTheTeam ( TeamId id ) : void
id TeamId
return void

TeamMember() public method

public TeamMember ( TeamId teamId, TeamMemberId id, System.DateTime joinDate ) : System
teamId TeamId
id TeamMemberId
joinDate System.DateTime
return System