C# Class ComercioElectronico.Modelo.Carrito

ファイルを表示 Open project: JuanjoFuchs/SOLID Class Usage Examples

Public Methods

Method Description
Agregar ( Producto producto ) : void
CalcularTotal ( ) : decimal
Carrito ( ) : System.Collections.Generic
Carrito ( ICalculadoraDePrecios calculadoraDePrecios ) : System.Collections.Generic

Method Details

Agregar() public method

public Agregar ( Producto producto ) : void
producto Producto
return void

CalcularTotal() public method

public CalcularTotal ( ) : decimal
return decimal

Carrito() public method

public Carrito ( ) : System.Collections.Generic
return System.Collections.Generic

Carrito() public method

public Carrito ( ICalculadoraDePrecios calculadoraDePrecios ) : System.Collections.Generic
calculadoraDePrecios ICalculadoraDePrecios
return System.Collections.Generic