C# Class Gringotts.Domain.Investment

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

Public Methods

Method Description
Equals ( Investment other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
GiveReturn ( Venture venture, Amount dividend ) : void
HasInvestor ( Investor investor ) : bool
Investment ( )
Investment ( Investor investor, Amount amount )
Investment ( Investor investor, Venture venture, Amount amount )

Method Details

Equals() public method

public Equals ( Investment other ) : bool
other Investment
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GiveReturn() public method

public GiveReturn ( Venture venture, Amount dividend ) : void
venture Venture
dividend Amount
return void

HasInvestor() public method

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

Investment() public method

public Investment ( )

Investment() public method

public Investment ( Investor investor, Amount amount )
investor Investor
amount Amount

Investment() public method

public Investment ( Investor investor, Venture venture, Amount amount )
investor Investor
venture Venture
amount Amount