Пример #1
0
        public MoneyHandler(Builder builder)
        {
            _moneyNote = new MoneyNote();

            _collector   = builder.collector;
            _nextHandler = builder.nextHandler;
            _moneyNote   = builder.moneyNote;
        }
Пример #2
0
 public Builder SetNextHandler(MoneyHandler nextHandler)
 {
     this.nextHandler = nextHandler;
     return(this);
 }