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

Exibir arquivo Open project: elbandit/PPPDDD

Public Methods

Method Description
Bid ( System.Guid auctionId, System.Guid memberId, decimal amount ) : void
BidOnAuction ( IAuctionRepository auctionRepository, IBidHistoryRepository bidHistoryRepository, IUnitOfWork 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, IUnitOfWork unitOfWork, IClock clock ) : System
auctionRepository IAuctionRepository
bidHistoryRepository IBidHistoryRepository
unitOfWork IUnitOfWork
clock IClock
return System