C# Class Gringotts.Domain.Venture

Afficher le fichier Open project: bagheera/Gringotts Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddOffer ( Investor investor, Amount investedAmount ) : Offer
investor Investor
investedAmount Amount
Résultat Offer

ChangeStateToCancelled() public méthode

public ChangeStateToCancelled ( ) : void
Résultat void

ChangeStateToStarted() public méthode

public ChangeStateToStarted ( ) : void
Résultat void

Equals() public méthode

public Equals ( Venture other ) : bool
other Venture
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetVentureHistory() public méthode

public GetVentureHistory ( ) : VentureHistory
Résultat VentureHistory

GoBankrupt() public méthode

public GoBankrupt ( ) : void
Résultat void

HandOutDividends() public méthode

public HandOutDividends ( Amount dividend ) : void
dividend Amount
Résultat void

IsClosed() public méthode

public IsClosed ( ) : bool
Résultat bool

IsProposed() public méthode

public IsProposed ( ) : bool
Résultat bool

IsStarted() public méthode

public IsStarted ( ) : bool
Résultat bool

Split() public méthode

public Split ( TermsOfSplit termsOfSplit ) : IEnumerable
termsOfSplit TermsOfSplit
Résultat IEnumerable

Start() public méthode

public Start ( ) : void
Résultat void

SubscribedAmount() public méthode

public SubscribedAmount ( ) : Amount
Résultat Amount

Venture() public méthode

public Venture ( ) : System
Résultat System

Venture() public méthode

public Venture ( Name name, Amount outlay, Amount minInvestment ) : System
name Name
outlay Amount
minInvestment Amount
Résultat System