예제 #1
0
 public ProcesarPedido(IObtenedorFechaActual obtenerFechaActual, IObtenedorFechaEntrega obtenerFechaEntrega, ICalculaCostoEnvio calculaCostoEnvio,
                       IGeneradorMensajePaquete generadorMensajePaquete)
 {
     this._obtenerFechaActual  = obtenerFechaActual ?? throw new ArgumentNullException(nameof(obtenerFechaActual));
     this._obtenerFechaEntrega = obtenerFechaEntrega ?? throw new ArgumentNullException(nameof(obtenerFechaEntrega));
     this._calculaCostoEnvio   = calculaCostoEnvio ?? throw new ArgumentNullException(nameof(calculaCostoEnvio));
     _generadorMensajePaquete  = generadorMensajePaquete;
 }
예제 #2
0
 public RangoBase(IObtenedorFechaActual obtenedorFecha)
 {
     this.obtenedorFecha = obtenedorFecha;
 }
 public ProcesardorExpresionMensajes(IObtenedorFechaActual obtenedorFecha)
 {
     this.obtenedorFecha = obtenedorFecha;
 }
예제 #4
0
 public EstatusEntrega(IObtenedorFechaActual obtenedorFecha)
 {
     this.obtenedorFecha = obtenedorFecha;
 }