コード例 #1
0
        public ICustomerInformationCollector SelectBuiltInProgram(ProgramType type)
        {
            IWashProgram program = _programFactory.Create(type);

            _motherboard.Transmit(new WashProgramSelectedSignal(program));

            return(this);
        }
コード例 #2
0
 public IWashProgram Build() => _programFactory.Create(ProgramType.Custom, _washSteps.ToArray());