C# Class DecoratorPattern.Mozzarella

Inheritance: ToppingDecorator
Datei anzeigen Open project: marwie/Design-Patterns-in-Unity-Example Class Usage Examples

Public Methods

Method Description
GetCost ( ) : double
GetDescription ( ) : string
Mozzarella ( IPizza newPizza ) : System.Collections

Method Details

GetCost() public method

public GetCost ( ) : double
return double

GetDescription() public method

public GetDescription ( ) : string
return string

Mozzarella() public method

public Mozzarella ( IPizza newPizza ) : System.Collections
newPizza IPizza
return System.Collections