コード例 #1
0
        public AppContext(IDisplay display)
        {
            UserInput = new UserInput();
            Display   = display;

            FlowHandler = FlowHandler
                          .SetUpChain(new List <FlowHandler>()
            {
                new FineHandler(this, new UserInterpret()),
                new ErrorHandler(this)
            });


            PayRollState = CountryPayRollHandler
                           .SetUpChain(new List <CountryPayRollHandler>()
            {
                new IrelandPayrollHandler(this),
                new GermanyPayrollHandler(this)
            });
        }
コード例 #2
0
 public void Initialize()
 {
     FlowHandler.Process();
 }