C# 클래스 PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccount

상속: PPPDDDChap23.EventSourcing.Application.Infrastructure.EventSourcedAggregate
파일 보기 프로젝트 열기: elbandit/PPPDDD 1 사용 예제들

공개 메소드들

메소드 설명
AddInclusiveMinutesOffer ( PayAsYouGoInclusiveMinutesOffer offer ) : void
Apply ( DomainEvent @event ) : void
GetPayAsYouGoAccountSnapShot ( ) : PayAsYouGoAccountSnapshot
GetPayAsYouGoAccountSnapshot ( ) : PayAsYouGoAccountSnapshot
PayAsYouGoAccount ( ) : System
PayAsYouGoAccount ( System.Guid id, Money credit ) : System
PayAsYouGoAccount ( PayAsYouGoAccountSnapshot snapshot ) : System
Record ( PhoneCall phoneCall, PhoneCallCosting phoneCallCosting, IClock clock ) : void
TopUp ( Money credit, IClock clock ) : void

비공개 메소드들

메소드 설명
Causes ( DomainEvent @event ) : void
When ( AccountCreated accountCreated ) : void
When ( CreditAdded creditAdded ) : void
When ( CreditSatisfiesFreeCallAllowanceOffer creditSatisfiesFreeCallAllowanceOffer ) : void
When ( PhoneCallCharged phoneCallCharged ) : void

메소드 상세

AddInclusiveMinutesOffer() 공개 메소드

public AddInclusiveMinutesOffer ( PayAsYouGoInclusiveMinutesOffer offer ) : void
offer PayAsYouGoInclusiveMinutesOffer
리턴 void

Apply() 공개 메소드

public Apply ( DomainEvent @event ) : void
@event PPPDDDChap23.EventSourcing.Application.Infrastructure.DomainEvent
리턴 void

GetPayAsYouGoAccountSnapShot() 공개 메소드

public GetPayAsYouGoAccountSnapShot ( ) : PayAsYouGoAccountSnapshot
리턴 PayAsYouGoAccountSnapshot

GetPayAsYouGoAccountSnapshot() 공개 메소드

public GetPayAsYouGoAccountSnapshot ( ) : PayAsYouGoAccountSnapshot
리턴 PayAsYouGoAccountSnapshot

PayAsYouGoAccount() 공개 메소드

public PayAsYouGoAccount ( ) : System
리턴 System

PayAsYouGoAccount() 공개 메소드

public PayAsYouGoAccount ( System.Guid id, Money credit ) : System
id System.Guid
credit Money
리턴 System

PayAsYouGoAccount() 공개 메소드

public PayAsYouGoAccount ( PayAsYouGoAccountSnapshot snapshot ) : System
snapshot PayAsYouGoAccountSnapshot
리턴 System

Record() 공개 메소드

public Record ( PhoneCall phoneCall, PhoneCallCosting phoneCallCosting, IClock clock ) : void
phoneCall PhoneCall
phoneCallCosting PhoneCallCosting
clock IClock
리턴 void

TopUp() 공개 메소드

public TopUp ( Money credit, IClock clock ) : void
credit Money
clock IClock
리턴 void