C# Class PPPDDDChap23.EventSourcing.Application.Application.BusinessUseCases.RecordPhonecall

显示文件 Open project: elbandit/PPPDDD

Public Methods

Method Description
Execute ( System.Guid id, string phoneNumber, System.DateTime callStart, int callLengthInMinutes ) : void
RecordPhonecall ( IPayAsYouGoAccountRepository payAsYouGoAccountRepository, IDocumentSession unitOfWork, IClock clock ) : System

Method Details

Execute() public method

public Execute ( System.Guid id, string phoneNumber, System.DateTime callStart, int callLengthInMinutes ) : void
id System.Guid
phoneNumber string
callStart System.DateTime
callLengthInMinutes int
return void

RecordPhonecall() public method

public RecordPhonecall ( IPayAsYouGoAccountRepository payAsYouGoAccountRepository, IDocumentSession unitOfWork, IClock clock ) : System
payAsYouGoAccountRepository IPayAsYouGoAccountRepository
unitOfWork IDocumentSession
clock IClock
return System