C# Класс RightpointLabs.Pourcast.Application.Orchestrators.Concrete.KegOrchestrator

Наследование: RightpointLabs.Pourcast.Application.Orchestrators.Abstract.BaseOrchestrator, IKegOrchestrator
Показать файл Открыть проект

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

Метод Описание
GetKeg ( string kegId ) : Keg
GetKegOnTap ( string tapId ) : Keg
GetKegs ( ) : IEnumerable
GetKegs ( bool isEmpty ) : IEnumerable
GetKegsOnTap ( ) : IEnumerable
KegOrchestrator ( IKegRepository kegRepository, ITapRepository tapRepository, IBeerRepository beerRepository ) : System

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

Метод Описание
CreateKeg ( string beerId, double capacity ) : string
UpdateCapacityAndPoured ( string kegId, double capacity, double amountOfBeerPoured ) : void

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

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

public GetKeg ( string kegId ) : Keg
kegId string
Результат RightpointLabs.Pourcast.Domain.Models.Keg

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

public GetKegOnTap ( string tapId ) : Keg
tapId string
Результат RightpointLabs.Pourcast.Domain.Models.Keg

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

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

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

public GetKegs ( bool isEmpty ) : IEnumerable
isEmpty bool
Результат IEnumerable

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

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

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

public KegOrchestrator ( IKegRepository kegRepository, ITapRepository tapRepository, IBeerRepository beerRepository ) : System
kegRepository IKegRepository
tapRepository ITapRepository
beerRepository IBeerRepository
Результат System