コード例 #1
0
 public AttendeesController(IAttendeeService attendeeService,
                            IAgencyService agencyService,
                            IExcelService excelService)
 {
     _attendeeService = attendeeService;
     _agencyService   = agencyService;
     _excelService    = excelService;
 }
コード例 #2
0
 public TalkService(IUnitOfWork unitOfWork,
                    IAttendeeService attendeeService,
                    IMapper mapper)
 {
     _unitOfWork      = unitOfWork;
     _attendeeService = attendeeService;
     _mapper          = mapper;
 }
コード例 #3
0
 public ExcelService(IWorkshopService workshopService,
                     IAttendeeService attendeeService,
                     IAttendeeHourService attendeeHourService)
 {
     _workshopService     = workshopService;
     _attendeeService     = attendeeService;
     _attendeeHourService = attendeeHourService;
 }
コード例 #4
0
 public AttendeeHoursController(IAttendeeHourService attendeeHourService,
                                IWorkshopService workshopService,
                                IAttendeeService attendeeService)
 {
     _attendeeHourService = attendeeHourService;
     _workshopService     = workshopService;
     _attendeeService     = attendeeService;
 }
コード例 #5
0
 public EventController(IEventService eventService, IServiceSlotService serviceSlotService, IAttendeeService attendeeService, IEventLocationService eventLocationService, IAgreementService agreementService)
 {
     _eventService         = eventService;
     _serviceSlotService   = serviceSlotService;
     _attendeeService      = attendeeService;
     _eventLocationService = eventLocationService;
     _agreementService     = agreementService;
 }
コード例 #6
0
 /// <summary>
 /// Controller for hub endpoints relative to pupils management
 /// </summary>
 /// <param name="authenticationService">Authentication service</param>
 /// <param name="attendeeService">Attendee service</param>
 /// <param name="hubService">Hub service</param>
 /// <param name="moduleService">Module service</param>
 /// <param name="pupilService">Pupil service</param>
 public PupilsController(IAttendeeService attendeeService, IAuthenticationService authenticationService,
                         IHubService hubService, IModuleService moduleService, IPupilService pupilService)
 {
     _attendeeService       = attendeeService;
     _authenticationService = authenticationService;
     _hubService            = hubService;
     _moduleService         = moduleService;
     _pupilService          = pupilService;
 }
コード例 #7
0
        public When_executing_AttendeeService()
        {
            _mockConferenceDataProvider = new Mock <IConferenceDataProvider>();
            _mockConferenceDataProvider.Setup(d => d.GetAttendees).Returns(new List <User> {
                new User()
            }.AsQueryable());

            _attendeeService = new AttendeeService(_mockConferenceDataProvider.Object);
        }
コード例 #8
0
        public AttendeeAdminController(IOrchardServices orchardServices, IAttendeeService attendeeService, ISiteService siteService, IShapeFactory shapeFactory)
        {
            _orchardServices = orchardServices;
            _attendeeService = attendeeService;
            _siteService     = siteService;

            Shape = shapeFactory;
            T     = NullLocalizer.Instance;
        }
コード例 #9
0
        public AttendeesController(IAttendeeService attendeeService,
                                   IOptions <Attendee> attendee,
                                   IConfiguration configuration)
        {
            _attendeeService = attendeeService;

            // APP SETTINGS APPROACH 1: strongly-typed IOptions<T>
            _attendee = attendee.Value;

            // APP SETTINGS APPROACH 2: IConfiguration.GetValue
            _configuration = configuration;
        }
コード例 #10
0
 public SwagEmController(IAttendeeService attendeeService, ISwagService swagService)
 {
     _attendeeService = attendeeService;
     _swagService     = swagService;
 }
コード例 #11
0
 public AttendeeController(IHttpContextAccessor httpContextAccessor, IAttendeeService service)
 {
     _attendeeService     = service;
     _httpContextAccessor = httpContextAccessor;
 }
コード例 #12
0
 public AttendeeController(IAttendeeService attendeeService)
 {
     _attendeeService = attendeeService;
 }
コード例 #13
0
 public AttendeeAppService(IAttendeeRepository atendeeRepository, IAttendeeService atendeeService, IUnitOfWork uow) : base(uow)
 {
     _atendeeRepository = atendeeRepository;
     _atendeeService    = atendeeService;
 }
コード例 #14
0
 public TeamDriver(ITeamService teamService, IAttendeeService attendeeService, ICupService cupService)
 {
     _teamService     = teamService;
     _attendeeService = attendeeService;
     _cupService      = cupService;
 }
コード例 #15
0
 public AttendeesController(IAttendeeService attendeeService, IUnitOfWorkAsync unitOfWork)
 {
     _attendeeService = attendeeService;
     _unitOfWork = unitOfWork;
 }
コード例 #16
0
 public AttendeesController(ILogger <AttendeesController> logger, IAttendeeService attendeeService)
 {
     _logger          = logger ?? throw new ArgumentNullException(nameof(logger));
     _attendeeService = attendeeService ?? throw new ArgumentNullException(nameof(attendeeService));
 }
コード例 #17
0
 public TeamService(IOrchardServices orchardServices, ITeamAttendeeService teamAttendeeService, IAttendeeService attendeeService)
     : base(orchardServices)
 {
     _teamAttendeeService = teamAttendeeService;
     _attendeeService     = attendeeService;
 }
コード例 #18
0
ファイル: HubService.cs プロジェクト: pBouillon/InTechNet.Api
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="context">Database context</param>
 /// <param name="attendeeService">Attendee service</param>
 public HubService(IInTechNetContext context, IAttendeeService attendeeService)
 => (_context, _attendeeService) = (context, attendeeService);
コード例 #19
0
 public AttendeesController(IAttendeeService attendeeService, ILogger <AttendeesController> logger)
 {
     _attendeeService = attendeeService;
     _logger          = logger;
 }
コード例 #20
0
 public AttendeeController(IAttendeeService service) : base(service)
 {
 }
コード例 #21
0
 public AttendeeController(IAttendeeService attendeeService)
 {
     _attendeeService = attendeeService;
 }
コード例 #22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttendeesController"/> class.
 /// </summary>
 /// <param name="attendeeService">
 /// The attendee service.
 /// </param>
 public AttendeesController(IAttendeeService attendeeService)
 {
     this._attendeeService = attendeeService;
 }
コード例 #23
0
 public AttendeeController(IAttendeeService service)
 {
     this._service = service;
 }
コード例 #24
0
 public MeetingController(IMeetingService meetingService, IAttendeeService attendeeService, modelContext modelContext)
 {
     _meetingService   = meetingService;
     _attendeeService  = attendeeService;
     this.modelContext = modelContext;
 }