C# Class Gringotts.Domain.Offer

显示文件 Open project: jskswamy/Gringotts Class Usage Examples

Public Methods

Method Description
HasInvestor ( Investor investor ) : bool
Offer ( Investor investor, Amount amount, Venture venture ) : System
ToInvestment ( ) : Investment
ToInvestment ( Amount difference ) : Investment

Method Details

HasInvestor() public method

public HasInvestor ( Investor investor ) : bool
investor Investor
return bool

Offer() public method

public Offer ( Investor investor, Amount amount, Venture venture ) : System
investor Investor
amount Amount
venture Venture
return System

ToInvestment() public method

public ToInvestment ( ) : Investment
return Investment

ToInvestment() public method

public ToInvestment ( Amount difference ) : Investment
difference Amount
return Investment