public Engine(IFestivalController festivalController, ISetController setController) { this.festivalCоntroller = festivalController; this.setCоntroller = setController; this.reader = new ConsoleReader(); this.writer = new ConsoleWriter(); }
public Engine() { this.stage = new Stage(); this.festivalCоntroller = new FestivalController(stage); this.setCоntroller = new SetController(stage); this.writer = new ConsoleWriter(); this.reader = new ConsoleReader(); }
public Engine(IReader reader, IWriter writer) { this.writer = writer; this.reader = reader; this.stage = new Stage(); this.festivalCоntroller = new FestivalController(stage); this.setCоntroller = new SetController(stage); }
public Engine(IWriter writer, IReader reader, FestivalController festivalController) { this.reader = new ConsoleReader(); this.writer = new ConsoleWriter(); this.stage = new Stage(); this.setController = new SetController(stage); festivalController = new FestivalController(stage); }
public Engine(IFestivalController festivalController, ISetController setController, IReader reader, IWriter writer, IStage stage) { this.reader = reader; this.writer = writer; this.stage = stage; this.festivalController = festivalController; this.setController = setController; }
public Engine(IFestivalController fc, ISetController sc) { this.reader = new ConsoleReader(); this.writer = new ConsoleWriter(); this.stage = new Stage(); this.festivalCоntroller = fc; this.setCоntroller = sc; }
public Engine(IReader reader, IWriter writer, IFestivalController festivalController, ISetController setController, ICommandFactory commandFactory) { this.isRunning = false; this.reader = reader; this.writer = writer; this.festivalCоntroller = festivalController; this.setCоntroller = setController; this.commandFactory = commandFactory; }
public static void Main(string[] args) { var serviseProvider = ConfigureServices(); IStage stage = serviseProvider.GetService <IStage>(); IFestivalController festivalController = serviseProvider.GetService <IFestivalController>(); ISetController setController = serviseProvider.GetService <ISetController>(); IWriter writer = serviseProvider.GetService <IWriter>(); IReader reader = serviseProvider.GetService <IReader>(); var engine = new Engine(reader, writer, festivalController, setController, serviseProvider); engine.Run(); }
public ENDCommand(IFestivalController festivalController) { this.festivalController = festivalController; }
public AddSongToSetCommand(IFestivalController festivalController) { this.festivalController = festivalController; }
public Engine(IFestivalController festivalController, ISetController setController) { this.festivalCоntroller = festivalController; this.setCоntroller = setController; }
public Engine(IWriter writer, IReader reader, IFestivalController festivalController) { this.writer = writer; this.reader = reader; this.festivalController = festivalController; }
public AddPerformerToSetCommand(IFestivalController festivalController) { this.festivalController = festivalController; }
public RepairInstrumentsCommand(IFestivalController festivalController) { this.festivalController = festivalController; }
public SignUpPerformerCommand(IFestivalController festivalController) { this.festivalController = festivalController; }