public FestivalController(IStage stage)
 {
     this.stage             = stage;
     this.songFactory       = new SongFactory();
     this.performerFactory  = new PerformerFactory();
     this.instrumentFactory = new InstrumentFactory();
 }
Ejemplo n.º 2
0
 public FestivalController(IStage stage, IInstrumentFactory instrumentFactory, IPerformerFactory performerFactory, ISongFactory songFactory)
 {
     this.stage             = stage;
     this.instrumentFactory = instrumentFactory;
     this.performerFactory  = performerFactory;
     this.songFactory       = songFactory;
 }
 public FestivalController(IStage stage)               // CHEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
 {
     this.stage             = stage;                   // CHEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
     this.instrumentFactory = new InstrumentFactory(); // CHEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
     this.performerFactory  = new PerformerFactory();  // CHEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
     this.setFactory        = new SetFactory();        // CHEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
     this.songFactory       = new SongFactory();       // CHEKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK
 }
Ejemplo n.º 4
0
 public FestivalController(IStage stage)
 {
     this.stage        = stage;
     setController     = new SetController(stage);
     instrumentFactory = new InstrumentFactory();
     performerFactory  = new PerformerFactory();
     setFactory        = new SetFactory();
     songFactory       = new SongFactory();
 }
 public FestivalController(IStage stage,
                           ISetController setController,
                           ISetFactory setFactory,
                           IInstrumentFactory instrumentFactory,
                           IPerformerFactory performerFactory,
                           ISongFactory songFactory)
 {
     this.setController     = setController;
     this.setFactory        = setFactory;
     this.instrumentFactory = instrumentFactory;
     this.performerFactory  = performerFactory;
     this.songFactory       = songFactory;
     this.stage             = stage;
     this.setController     = setController;//= new SetController(stage);
 }