C# 클래스 TemplateMethodPattern.Hoagie

파일 보기 프로젝트 열기: marwie/Design-Patterns-in-Unity-Example

공개 메소드들

메소드 설명
MakeSandwich ( ) : void

보호된 메소드들

메소드 설명
AddCheese ( ) : void
AddCondiments ( ) : void
AddMeat ( ) : void
AddVegetables ( ) : void
CustomerWantsCheese ( ) : bool
CustomerWantsCondiments ( ) : bool
CustomerWantsMeat ( ) : bool
CustomerWantsVegetables ( ) : bool
CutBun ( ) : void
WrapTheHoagie ( ) : void

메소드 상세

AddCheese() 보호된 추상적인 메소드

protected abstract AddCheese ( ) : void
리턴 void

AddCondiments() 보호된 추상적인 메소드

protected abstract AddCondiments ( ) : void
리턴 void

AddMeat() 보호된 추상적인 메소드

protected abstract AddMeat ( ) : void
리턴 void

AddVegetables() 보호된 추상적인 메소드

protected abstract AddVegetables ( ) : void
리턴 void

CustomerWantsCheese() 보호된 메소드

protected CustomerWantsCheese ( ) : bool
리턴 bool

CustomerWantsCondiments() 보호된 메소드

protected CustomerWantsCondiments ( ) : bool
리턴 bool

CustomerWantsMeat() 보호된 메소드

protected CustomerWantsMeat ( ) : bool
리턴 bool

CustomerWantsVegetables() 보호된 메소드

protected CustomerWantsVegetables ( ) : bool
리턴 bool

CutBun() 보호된 메소드

protected CutBun ( ) : void
리턴 void

MakeSandwich() 공개 메소드

public MakeSandwich ( ) : void
리턴 void

WrapTheHoagie() 보호된 메소드

protected WrapTheHoagie ( ) : void
리턴 void