C# Class MediatorPattern.Colleague

Mostra file Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Public Methods

Method Description
BuyOffer ( Stock stock, int shares ) : void
Colleague ( MediatorPattern.Mediator mediator ) : System.Collections
SaleOffer ( Stock stock, int shares ) : void
SetCode ( int code ) : void

Method Details

BuyOffer() public method

public BuyOffer ( Stock stock, int shares ) : void
stock Stock
shares int
return void

Colleague() public method

public Colleague ( MediatorPattern.Mediator mediator ) : System.Collections
mediator MediatorPattern.Mediator
return System.Collections

SaleOffer() public method

public SaleOffer ( Stock stock, int shares ) : void
stock Stock
shares int
return void

SetCode() public method

public SetCode ( int code ) : void
code int
return void