C# Class RightpointLabs.Pourcast.Application.Orchestrators.Concrete.KegOrchestrator

Inheritance: RightpointLabs.Pourcast.Application.Orchestrators.Abstract.BaseOrchestrator, IKegOrchestrator
显示文件 Open project: RightpointLabs/Pourcast

Public Methods

Method Description
GetKeg ( string kegId ) : Keg
GetKegOnTap ( string tapId ) : Keg
GetKegs ( ) : IEnumerable
GetKegs ( bool isEmpty ) : IEnumerable
GetKegsOnTap ( ) : IEnumerable
KegOrchestrator ( IKegRepository kegRepository, ITapRepository tapRepository, IBeerRepository beerRepository ) : System

Private Methods

Method Description
CreateKeg ( string beerId, double capacity ) : string
UpdateCapacityAndPoured ( string kegId, double capacity, double amountOfBeerPoured ) : void

Method Details

GetKeg() public method

public GetKeg ( string kegId ) : Keg
kegId string
return RightpointLabs.Pourcast.Domain.Models.Keg

GetKegOnTap() public method

public GetKegOnTap ( string tapId ) : Keg
tapId string
return RightpointLabs.Pourcast.Domain.Models.Keg

GetKegs() public method

public GetKegs ( ) : IEnumerable
return IEnumerable

GetKegs() public method

public GetKegs ( bool isEmpty ) : IEnumerable
isEmpty bool
return IEnumerable

GetKegsOnTap() public method

public GetKegsOnTap ( ) : IEnumerable
return IEnumerable

KegOrchestrator() public method

public KegOrchestrator ( IKegRepository kegRepository, ITapRepository tapRepository, IBeerRepository beerRepository ) : System
kegRepository IKegRepository
tapRepository ITapRepository
beerRepository IBeerRepository
return System