C# Class TemplateMethodPattern.Hoagie

Afficher le fichier Open project: marwie/Design-Patterns-in-Unity-Example

Méthodes publiques

Méthode Description
MakeSandwich ( ) : void

Méthodes protégées

Méthode Description
AddCheese ( ) : void
AddCondiments ( ) : void
AddMeat ( ) : void
AddVegetables ( ) : void
CustomerWantsCheese ( ) : bool
CustomerWantsCondiments ( ) : bool
CustomerWantsMeat ( ) : bool
CustomerWantsVegetables ( ) : bool
CutBun ( ) : void
WrapTheHoagie ( ) : void

Method Details

AddCheese() protected abstract méthode

protected abstract AddCheese ( ) : void
Résultat void

AddCondiments() protected abstract méthode

protected abstract AddCondiments ( ) : void
Résultat void

AddMeat() protected abstract méthode

protected abstract AddMeat ( ) : void
Résultat void

AddVegetables() protected abstract méthode

protected abstract AddVegetables ( ) : void
Résultat void

CustomerWantsCheese() protected méthode

protected CustomerWantsCheese ( ) : bool
Résultat bool

CustomerWantsCondiments() protected méthode

protected CustomerWantsCondiments ( ) : bool
Résultat bool

CustomerWantsMeat() protected méthode

protected CustomerWantsMeat ( ) : bool
Résultat bool

CustomerWantsVegetables() protected méthode

protected CustomerWantsVegetables ( ) : bool
Résultat bool

CutBun() protected méthode

protected CutBun ( ) : void
Résultat void

MakeSandwich() public méthode

public MakeSandwich ( ) : void
Résultat void

WrapTheHoagie() protected méthode

protected WrapTheHoagie ( ) : void
Résultat void