示例#1
0
        //public SalePostSetupContext(SalePostFailedSaleCreation nxt) : base(nxt)
        //{
        //    _nextStage = nxt;
        //}

        //public override void Invoke(SalePostContext context)
        //{
        //    SaleRepo.SaleBuilder builder = _saleRepo.initialSaleBuilder();
        //    context.SaleBuilder = (SaleRepo)builder;
        //    _next.Invoke(context);
        //}

        protected internal override void stageExecute(SalePostContext context)
        {
            SaleRepo.SaleBuilder builder = _saleRepo.initialSaleBuilder();
            context.SaleBuilder = (SaleRepo)builder;
            nextStg(context);
        }
示例#2
0
 public override void stageExecute(SalePostContext context)
 {
     SaleRepo.SaleBuilder builder = saleRepo.initialSaleBuilder();
     context.SaleBuilder = (SaleRepo)builder;
     nextStage(context);
 }