C# 클래스 ComercioElectronico.Modelo.Carrito

파일 보기 프로젝트 열기: JuanjoFuchs/SOLID 1 사용 예제들

공개 메소드들

메소드 설명
Agregar ( Producto producto ) : void
CalcularTotal ( ) : decimal
Carrito ( ) : System.Collections.Generic
Carrito ( ICalculadoraDePrecios calculadoraDePrecios ) : System.Collections.Generic

메소드 상세

Agregar() 공개 메소드

public Agregar ( Producto producto ) : void
producto Producto
리턴 void

CalcularTotal() 공개 메소드

public CalcularTotal ( ) : decimal
리턴 decimal

Carrito() 공개 메소드

public Carrito ( ) : System.Collections.Generic
리턴 System.Collections.Generic

Carrito() 공개 메소드

public Carrito ( ICalculadoraDePrecios calculadoraDePrecios ) : System.Collections.Generic
calculadoraDePrecios ICalculadoraDePrecios
리턴 System.Collections.Generic