public CommandInterpreter(IRepository repository, IBehaviourFactory behaviourFactory, IAttackFactory attackFactory) { this.repository = repository; this.behaviourFactory = behaviourFactory; this.attackFactory = attackFactory; }
public ProductsMonitorService(IDateTimeNow dateTimeNow) { _dateTimeNow = dateTimeNow; _modelPortfolioRepository = new ModelPortfolioRepository(); _behaviourFactory = new BehaviourFactory(); _productRepository = new ProductRepository(_modelPortfolioRepository, _behaviourFactory, _dateTimeNow); _rebalancerHandler = new RebalanceHandler(_behaviourFactory); _payoutHandler = new PayoutHandler(_behaviourFactory); _monitorFactory = new MonitorFactory(_dateTimeNow, _rebalancerHandler, _payoutHandler); _monitorHandler = new MonitorHandler(_monitorFactory); }
public Engine( IRenderer renderer, IInputController inputController, ICommandFactory commandFactory, IFieldOfPLay fieldOfPLay, IAttackFactory attackFactory, IBehaviourFactory behaviourFactory) { this.renderer = renderer; this.inputController = inputController; this.CommandFactory = commandFactory; this.FieldOfPLay = fieldOfPLay; AttackFactory = attackFactory; BehaviourFactory = behaviourFactory; this.ReportEvents = false; }
public BehaviourQueue(IBehaviourFactory factory) { this.factory = factory; }
public RebalanceHandler(IBehaviourFactory behaviourFactory) { _behaviourFactory = behaviourFactory; }
public PayoutHandler(IBehaviourFactory behaviourFactory) { _behaviourFactory = behaviourFactory; }
public Engine(IInputReader reader, IOutputWriter writer, IBlobFactory blobFactory, IBehaviourFactory behaviourFactory, IAttackFactory attackFactory, ICombatHandler combataHandler) { this.Reader = reader; this.Writer = writer; this.BlobFactory = blobFactory; this.BehaviourFactory = behaviourFactory; this.AttackFactory = attackFactory; this.CombatHandler = combataHandler; this.CommandExecutor = new CommandExecutor(this); }
public Parrot(IBehaviourFactory factory) { _factory = factory; }
public ProductRepository(IModelPortfolioRepository modelPortfolioRepository, IBehaviourFactory behaviourFactory, IDateTimeNow dateTimeNow) { _modelPortfolioRepository = modelPortfolioRepository; _behaviourFactory = behaviourFactory; _dateTimeNow = dateTimeNow; }
public Cat(IBehaviourFactory factory) { _factory = factory; }
public Canary(IBehaviourFactory factory) { _factory = factory; }
public Controller(IDatabase database, IBlobFactory blobFactory, IAttackFactory attackFactory, IBehaviourFactory behaviourFactory) { this.BehaviourFactory = behaviourFactory; this.AttackFactory = attackFactory; this.BlobFactory = blobFactory; this.Database = database; }
public Dog(IBehaviourFactory factory) { _factory = factory; }