C# Class Dahlia.Models.Retreat

Inheritance: IAmPersistable
Afficher le fichier Open project: HarmonyHacks/Dahlia Class Usage Examples

Méthodes publiques

Méthode Description
AddParticipant ( Participant participant, Bed bed ) : void
AddRegistrations ( IList theRegistrations ) : void
GetUnassignedBeds ( IEnumerable beds ) : IEnumerable
RemoveParticipant ( int participantId ) : void
Retreat ( ) : System
Retreat ( IList registrations ) : System

Private Methods

Méthode Description
EnsureBedIsNotAssigned ( Bed bed ) : void
EnsureRetreatIsNotFull ( ) : void

Method Details

AddParticipant() public méthode

public AddParticipant ( Participant participant, Bed bed ) : void
participant Participant
bed Bed
Résultat void

AddRegistrations() public méthode

public AddRegistrations ( IList theRegistrations ) : void
theRegistrations IList
Résultat void

GetUnassignedBeds() public méthode

public GetUnassignedBeds ( IEnumerable beds ) : IEnumerable
beds IEnumerable
Résultat IEnumerable

RemoveParticipant() public méthode

public RemoveParticipant ( int participantId ) : void
participantId int
Résultat void

Retreat() public méthode

public Retreat ( ) : System
Résultat System

Retreat() public méthode

public Retreat ( IList registrations ) : System
registrations IList
Résultat System