C# Class Gringotts.Domain.Investor

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

Méthodes publiques

Méthode Description
AcceptOffer ( Offer offer ) : void
AcceptReturn ( Amount dividend ) : void
AcceptSurplus ( Amount surplus ) : void
AddInvestmentToPortfolio ( Investment investment ) : void
Equals ( Investor other ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
Investor ( ) : System
Investor ( Name name, GringottsDate date, Amount amount ) : System

Private Methods

Méthode Description
Pay ( Amount amount ) : void

Method Details

AcceptOffer() public méthode

public AcceptOffer ( Offer offer ) : void
offer Offer
Résultat void

AcceptReturn() public méthode

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

AcceptSurplus() public méthode

public AcceptSurplus ( Amount surplus ) : void
surplus Amount
Résultat void

AddInvestmentToPortfolio() public méthode

public AddInvestmentToPortfolio ( Investment investment ) : void
investment Investment
Résultat void

Equals() public méthode

public Equals ( Investor other ) : bool
other Investor
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

Investor() public méthode

public Investor ( ) : System
Résultat System

Investor() public méthode

public Investor ( Name name, GringottsDate date, Amount amount ) : System
name Name
date GringottsDate
amount Amount
Résultat System