C# 클래스 MyAuctionSite.Backend.Auctions.Auction

상속: Infrastructure.AggregateRoot
파일 보기 프로젝트 열기: andreasohlund/Blog

공개 메소드들

메소드 설명
Auction ( ) : System
Auction ( System.Guid auctionId, string description, System.DateTime endsAt, System.Guid userId ) : System
Close ( System.DateTime closeAt ) : void
PlaceBid ( System.Guid bidId, System.Guid userId, double amount, System.DateTime bidPlacedAt ) : void

비공개 메소드들

메소드 설명
Apply ( AuctionClosed @event ) : void
Apply ( AuctionRegistered @event ) : void
Apply ( BidPlaced @event ) : void
Apply ( BidRejected @event ) : void

메소드 상세

Auction() 공개 메소드

public Auction ( ) : System
리턴 System

Auction() 공개 메소드

public Auction ( System.Guid auctionId, string description, System.DateTime endsAt, System.Guid userId ) : System
auctionId System.Guid
description string
endsAt System.DateTime
userId System.Guid
리턴 System

Close() 공개 메소드

public Close ( System.DateTime closeAt ) : void
closeAt System.DateTime
리턴 void

PlaceBid() 공개 메소드

public PlaceBid ( System.Guid bidId, System.Guid userId, double amount, System.DateTime bidPlacedAt ) : void
bidId System.Guid
userId System.Guid
amount double
bidPlacedAt System.DateTime
리턴 void