C# Class MediatorPattern.StockMediator

Inheritance: MediatorPattern.Mediator
Afficher le fichier Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Méthodes publiques

Méthode Description
AddColleague ( Colleague colleague ) : void
BuyOffer ( Stock stock, int shares, int code ) : void
PrintStockOfferings ( ) : void
SaleOffer ( Stock stock, int shares, int code ) : void
StockMediator ( ) : System.Collections

Method Details

AddColleague() public méthode

public AddColleague ( Colleague colleague ) : void
colleague Colleague
Résultat void

BuyOffer() public méthode

public BuyOffer ( Stock stock, int shares, int code ) : void
stock Stock
shares int
code int
Résultat void

PrintStockOfferings() public méthode

public PrintStockOfferings ( ) : void
Résultat void

SaleOffer() public méthode

public SaleOffer ( Stock stock, int shares, int code ) : void
stock Stock
shares int
code int
Résultat void

StockMediator() public méthode

public StockMediator ( ) : System.Collections
Résultat System.Collections