C# Class DecoratorPattern.TomatoSauce

Inheritance: ToppingDecorator
Afficher le fichier Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Méthodes publiques

Méthode Description
GetCost ( ) : double
GetDescription ( ) : string
TomatoSauce ( IPizza newPizza ) : System.Collections

Method Details

GetCost() public méthode

public GetCost ( ) : double
Résultat double

GetDescription() public méthode

public GetDescription ( ) : string
Résultat string

TomatoSauce() public méthode

public TomatoSauce ( IPizza newPizza ) : System.Collections
newPizza IPizza
Résultat System.Collections