C# Class Gringotts.Domain.Holding

Show file Open project: bagheera/Gringotts Class Usage Examples

Private Properties

Property Type Description
CalculateParticipation Amount>.Dictionary
GetSplittedHolding Holding

Public Methods

Method Description
Add ( Investment investment ) : void
AddRange ( List confirmedInvestments ) : void
ClearAllInvestments ( ) : void
DistributeDividends ( Amount amount ) : void
Split ( Percentage percentage ) : IList

Private Methods

Method Description
CalculateParticipation ( ) : Amount>.Dictionary
GetSplittedHolding ( Percentage percentage ) : Holding

Method Details

Add() public method

public Add ( Investment investment ) : void
investment Investment
return void

AddRange() public method

public AddRange ( List confirmedInvestments ) : void
confirmedInvestments List
return void

ClearAllInvestments() public method

public ClearAllInvestments ( ) : void
return void

DistributeDividends() public method

public DistributeDividends ( Amount amount ) : void
amount Amount
return void

Split() public method

public Split ( Percentage percentage ) : IList
percentage Percentage
return IList