C# 클래스 MediatorPattern.StockMediator

상속: MediatorPattern.Mediator
파일 보기 프로젝트 열기: marwie/Design-Patterns-in-Unity-Example 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

AddColleague() 공개 메소드

public AddColleague ( Colleague colleague ) : void
colleague Colleague
리턴 void

BuyOffer() 공개 메소드

public BuyOffer ( Stock stock, int shares, int code ) : void
stock Stock
shares int
code int
리턴 void

PrintStockOfferings() 공개 메소드

public PrintStockOfferings ( ) : void
리턴 void

SaleOffer() 공개 메소드

public SaleOffer ( Stock stock, int shares, int code ) : void
stock Stock
shares int
code int
리턴 void

StockMediator() 공개 메소드

public StockMediator ( ) : System.Collections
리턴 System.Collections