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

Inheritance: ITapOrchestrator
ファイルを表示 Open project: RightpointLabs/Pourcast

Public Methods

Method Description
GetByName ( string name ) : RightpointLabs.Pourcast.Domain.Models.Tap
GetTapById ( string id ) : RightpointLabs.Pourcast.Domain.Models.Tap
GetTaps ( ) : IEnumerable
TapOrchestrator ( ITapRepository tapRepository, IKegRepository kegRepository ) : System

Private Methods

Method Description
CreateTap ( string name ) : string
CreateTap ( string name, string kegId ) : string
PouringFromTap ( string tapId, double volume ) : void
RemoveKegFromTap ( string tapId ) : void
Save ( RightpointLabs.Pourcast.Domain.Models.Tap tap ) : void
StartPourFromTap ( string tapId ) : void
StopPourFromTap ( string tapId, double volume ) : void
TapKeg ( string tapId, string kegId ) : void
UpdateTemperature ( string tapId, double temperatureF ) : void

Method Details

GetByName() public method

public GetByName ( string name ) : RightpointLabs.Pourcast.Domain.Models.Tap
name string
return RightpointLabs.Pourcast.Domain.Models.Tap

GetTapById() public method

public GetTapById ( string id ) : RightpointLabs.Pourcast.Domain.Models.Tap
id string
return RightpointLabs.Pourcast.Domain.Models.Tap

GetTaps() public method

public GetTaps ( ) : IEnumerable
return IEnumerable

TapOrchestrator() public method

public TapOrchestrator ( ITapRepository tapRepository, IKegRepository kegRepository ) : System
tapRepository ITapRepository
kegRepository IKegRepository
return System