Exemple #1
0
 //Con este constructor recibe un Comerciante
 public Comercio(string nombre, Comerciante comerciante, float precioAlquiler)
 {
     this._nombre              = nombre;//Nombre del comercio
     this._comerciante         = comerciante;
     this._alquiler            = precioAlquiler;
     this._cantidadDeEmpleados = CantidadDeEmpleados;
 }
 public Comercio(string nombre, Comerciante comerciante, float precioAlquiler)
 {
     this._nombre               = nombre;
     this._comerciante          = comerciante;
     this._precioAlquiler       = precioAlquiler;
     this._cadntidadDeEmpleados = int.Parse(Comercio._generadorDeEmpleados.ToString());
 }
Exemple #3
0
 public Comercio(string nombreComercio, Comerciante c1, float precioAlquiler)
 {
     this._comerciante    = c1;
     this.nombre          = nombreComercio;
     this._precioAlquiler = precioAlquiler;
 }
Exemple #4
0
 public Importador(string nombreComercio, float precioAlquiler, Comerciante comerciante, EPaises paisOrigen) : base(nombreComercio, comerciante, precioAlquiler)
 {
     this.paisOrigen = paisOrigen;
 }
 public Comercio(string nombre, Comerciante comerciante, float precioAlquiler)
 {
     this._nombre         = nombre;
     this._comerciante    = comerciante;
     this._precioAlquiler = precioAlquiler;
 }