C# Class TemplateMethodPattern.VeggieHoagie

Inheritance: Hoagie
Show file Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Protected Methods

Method Description
AddCheese ( ) : void
AddCondiments ( ) : void
AddMeat ( ) : void
AddVegetables ( ) : void
CustomerWantsCheese ( ) : bool
CustomerWantsMeat ( ) : bool

Method Details

AddCheese() protected method

protected AddCheese ( ) : void
return void

AddCondiments() protected method

protected AddCondiments ( ) : void
return void

AddMeat() protected method

protected AddMeat ( ) : void
return void

AddVegetables() protected method

protected AddVegetables ( ) : void
return void

CustomerWantsCheese() protected method

protected CustomerWantsCheese ( ) : bool
return bool

CustomerWantsMeat() protected method

protected CustomerWantsMeat ( ) : bool
return bool