C# Класс Dahlia.Models.Retreat

Наследование: IAmPersistable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AddParticipant ( Participant participant, Bed bed ) : void
AddRegistrations ( IList theRegistrations ) : void
GetUnassignedBeds ( IEnumerable beds ) : IEnumerable
RemoveParticipant ( int participantId ) : void
Retreat ( ) : System
Retreat ( IList registrations ) : System

Приватные методы

Метод Описание
EnsureBedIsNotAssigned ( Bed bed ) : void
EnsureRetreatIsNotFull ( ) : void

Описание методов

AddParticipant() публичный Метод

public AddParticipant ( Participant participant, Bed bed ) : void
participant Participant
bed Bed
Результат void

AddRegistrations() публичный Метод

public AddRegistrations ( IList theRegistrations ) : void
theRegistrations IList
Результат void

GetUnassignedBeds() публичный Метод

public GetUnassignedBeds ( IEnumerable beds ) : IEnumerable
beds IEnumerable
Результат IEnumerable

RemoveParticipant() публичный Метод

public RemoveParticipant ( int participantId ) : void
participantId int
Результат void

Retreat() публичный Метод

public Retreat ( ) : System
Результат System

Retreat() публичный Метод

public Retreat ( IList registrations ) : System
registrations IList
Результат System