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