C# Class DDDPPP.Chap21.NHibernateExample.Application.Application.BusinessUseCases.BidOnAuction

ファイルを表示 Open project: elbandit/PPPDDD

Public Methods

Method Description
Bid ( System.Guid auctionId, System.Guid memberId, decimal amount ) : void
BidOnAuction ( IAuctionRepository auctionRepository, IBidHistoryRepository bidHistoryRepository, ISession unitOfWork, IClock clock ) : System

Private Methods

Method Description
BidPlaced ( ) : Action
OutBid ( ) : Action

Method Details

Bid() public method

public Bid ( System.Guid auctionId, System.Guid memberId, decimal amount ) : void
auctionId System.Guid
memberId System.Guid
amount decimal
return void

BidOnAuction() public method

public BidOnAuction ( IAuctionRepository auctionRepository, IBidHistoryRepository bidHistoryRepository, ISession unitOfWork, IClock clock ) : System
auctionRepository IAuctionRepository
bidHistoryRepository IBidHistoryRepository
unitOfWork ISession
clock IClock
return System