예제 #1
0
 public ClientsController(IClientGroupService cgS, IEndPlayerClientService epcS, IClientScheduleService csS, ICampaignService cS)
 {
     clientGroupService     = cgS;
     endPlayerClientService = epcS;
     clientScheduleService  = csS;
     campaignService        = cS;
 }
예제 #2
0
        //public ContentHub(IEndPlayerClientService epcS) : base()
        //{
        //    this.endPlayerClientService = epcS;
        //}

        public ContentHub(ILifetimeScope lifetimeScope)
        {
            this._hubLifetimeScope = lifetimeScope.BeginLifetimeScope();

            // Resolve dependencies from the hub lifetime scope.
            endPlayerClientService = _hubLifetimeScope.Resolve <IEndPlayerClientService>();
            clientScheduleService  = _hubLifetimeScope.Resolve <IClientScheduleService>();
        }
예제 #3
0
 public SchedulesController(IClientScheduleService csS, IMediaStorageService mfS, ICampaignService cS)
 {
     this.campaignService       = cS;
     this.clientScheduleService = csS;
     this.mediaStorageService   = mfS;
 }