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