Ejemplo n.º 1
0
 public OrderProductPageDriver(UiContext context, OrderView order, OrderProductView orderProduct) : base(context)
 {
     this.order        = order;
     this.orderProduct = orderProduct ?? new OrderProductView {
         Id = -1
     };
 }
Ejemplo n.º 2
0
 public ProductsPageDriver(UiContext context) : base(context)
 {
 }
Ejemplo n.º 3
0
 public OrdersPageDriver(UiContext context) : base(context)
 {
 }
Ejemplo n.º 4
0
 public ProductPageDriver(UiContext context, ProductView product) : base(context)
 {
     this.product = product ?? new ProductView {
         Id = -1, Name = "", Price = 0
     };
 }
Ejemplo n.º 5
0
 protected PageDriver(UiContext context)
 {
     this.context     = context;
     ShowErrorMessage = (msg) => { };
     ShowInfoMessage  = (msg) => { };
 }
Ejemplo n.º 6
0
 public OrderPageDriver(UiContext context, OrderView order) : base(context)
 {
     this.order = order ?? new OrderView {
         Id = -1
     };
 }