C# Class Gringotts.Domain.Venture

Mostra file Open project: bagheera/Gringotts Class Usage Examples

Public Methods

Method Description
AddOffer ( Investor investor, Amount investedAmount ) : Offer
ChangeStateToCancelled ( ) : void
ChangeStateToStarted ( ) : void
Equals ( Venture other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetVentureHistory ( ) : VentureHistory
GoBankrupt ( ) : void
HandOutDividends ( Amount dividend ) : void
IsClosed ( ) : bool
IsProposed ( ) : bool
IsStarted ( ) : bool
Split ( TermsOfSplit termsOfSplit ) : IEnumerable
Start ( ) : void
SubscribedAmount ( ) : Amount
Venture ( ) : System
Venture ( Name name, Amount outlay, Amount minInvestment ) : System

Private Methods

Method Description
AddEventToVentureHistory ( String eventType ) : void
AddInvestmentsToHolding ( List investments ) : void
AddInvestmentsToPortfolio ( IEnumerable investments ) : void
CloseTheVenture ( ) : void
MinimumInvestment ( Amount investedAmount ) : bool
Venture ( Name name, Amount outlay ) : System

Method Details

AddOffer() public method

public AddOffer ( Investor investor, Amount investedAmount ) : Offer
investor Investor
investedAmount Amount
return Offer

ChangeStateToCancelled() public method

public ChangeStateToCancelled ( ) : void
return void

ChangeStateToStarted() public method

public ChangeStateToStarted ( ) : void
return void

Equals() public method

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

Equals() public method

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

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetVentureHistory() public method

public GetVentureHistory ( ) : VentureHistory
return VentureHistory

GoBankrupt() public method

public GoBankrupt ( ) : void
return void

HandOutDividends() public method

public HandOutDividends ( Amount dividend ) : void
dividend Amount
return void

IsClosed() public method

public IsClosed ( ) : bool
return bool

IsProposed() public method

public IsProposed ( ) : bool
return bool

IsStarted() public method

public IsStarted ( ) : bool
return bool

Split() public method

public Split ( TermsOfSplit termsOfSplit ) : IEnumerable
termsOfSplit TermsOfSplit
return IEnumerable

Start() public method

public Start ( ) : void
return void

SubscribedAmount() public method

public SubscribedAmount ( ) : Amount
return Amount

Venture() public method

public Venture ( ) : System
return System

Venture() public method

public Venture ( Name name, Amount outlay, Amount minInvestment ) : System
name Name
outlay Amount
minInvestment Amount
return System