/// <summary>
 /// Initializes a new instance of the <see cref="AddEventOwnerAsAttendeeOnGroupEventCreatedDomainEventHandler"/> class.
 /// </summary>
 /// <param name="attendeeRepository">The attendee repository.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 public AddEventOwnerAsAttendeeOnGroupEventCreatedDomainEventHandler(
     IAttendeeRepository attendeeRepository,
     IUnitOfWork unitOfWork)
 {
     _attendeeRepository = attendeeRepository;
     _unitOfWork         = unitOfWork;
 }
예제 #2
0
 public AddAttendanceForm(IAttendanceRepository attendanceRepository, IAttendeeRepository attendeeRepository, IPlaceRepository placeRepository)
 {
     InitializeComponent();
     AttendanceRepository = attendanceRepository;
     AttendeeRepository   = attendeeRepository;
     PlaceRepository      = placeRepository;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MarkAttendeesAsUnProcessedOnGroupEventDateAndTimeChangedDomainEventHandler"/> class.
 /// </summary>
 /// <param name="attendeeRepository">The attendee repository..</param>
 /// <param name="dateTime">The date and time.</param>
 public MarkAttendeesAsUnProcessedOnGroupEventDateAndTimeChangedDomainEventHandler(
     IAttendeeRepository attendeeRepository,
     IDateTime dateTime)
 {
     _attendeeRepository = attendeeRepository;
     _dateTime           = dateTime;
 }
예제 #4
0
        public SettingsPageViewModel(INavigationService navigationService, IAttendeeRepository attendeeRepository, ISpeakSessionRepository SpeakSessionRepository) : base(navigationService)
        {
            this.attendeeRepository = attendeeRepository;
            speakSessionRepository  = SpeakSessionRepository;

            GoBackCommand = new DelegateCommand(GoBack);
            UpdateCommand = new DelegateCommand(Update);
        }
예제 #5
0
 public AttendeeService(ILogger <AttendeeService> logger, IUserAccessRepository userAccessRepository,
                        ReunionValidator reunionValidator, IAttendeeRepository attendeeRepository)
 {
     _logger = Validator.ThrowIfNull(logger, nameof(logger));
     _userAccessRepository = Validator.ThrowIfNull(userAccessRepository, nameof(userAccessRepository));
     _reunionValidator     = Validator.ThrowIfNull(reunionValidator, nameof(reunionValidator));
     _attendeeRepository   = Validator.ThrowIfNull(attendeeRepository, nameof(attendeeRepository));
 }
예제 #6
0
 public SchedulesController(IScheduleRepository scheduleRepository,
                            IAttendeeRepository attendeeRepository,
                            IUserRespository userRepository)
 {
     _scheduleRepository = scheduleRepository;
     _attendeeRepository = attendeeRepository;
     _userRepository     = userRepository;
 }
예제 #7
0
파일: MainForm.cs 프로젝트: ravarador/Ahcms
 public MainForm(IAttendeeRepository attendeeRepository, IPlaceRepository placeRepository, IAttendanceRepository attendanceRepository, IAppUserRepository appUserRepository)
 {
     InitializeComponent();
     AttendeeRepository   = attendeeRepository;
     PlaceRepository      = placeRepository;
     AttendanceRepository = attendanceRepository;
     AppUserRepository    = appUserRepository;
 }
예제 #8
0
 public UsersController(IUserRepository userRepository,
                        IScheduleRepository scheduleRepository,
                        IAttendeeRepository attendeeRepository)
 {
     _userRepository     = userRepository;
     _scheduleRepository = scheduleRepository;
     _attendeeRepository = attendeeRepository;
 }
 public ScheduleService(IScheduleRepository scheduleRepository, IUserRepository userRepository,
                        IAttendeeRepository attendeeRepository, IUnitOfWork unitOfWork, IMapper mapper)
 {
     _scheduleRepository = scheduleRepository;
     _userRepository     = userRepository;
     _attendeeRepository = attendeeRepository;
     _unitOfWork         = unitOfWork;
     _mapper             = mapper;
 }
예제 #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotifyAttendeesOnGroupEventDateAndTimeChangedIntegrationEventHandler"/> class.
 /// </summary>
 /// <param name="groupEventRepository">The group event repository.</param>
 /// <param name="attendeeRepository">The attendee repository.</param>
 /// <param name="emailNotificationService">The email notification service.</param>
 public NotifyAttendeesOnGroupEventDateAndTimeChangedIntegrationEventHandler(
     IGroupEventRepository groupEventRepository,
     IAttendeeRepository attendeeRepository,
     IEmailNotificationService emailNotificationService)
 {
     _groupEventRepository     = groupEventRepository;
     _attendeeRepository       = attendeeRepository;
     _emailNotificationService = emailNotificationService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CreateAttendeeOnInvitationAcceptedDomainEventHandler"/> class.
 /// </summary>
 /// <param name="attendeeRepository">The attendee repository.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 /// <param name="mediator">The mediator.</param>
 public CreateAttendeeOnInvitationAcceptedDomainEventHandler(
     IAttendeeRepository attendeeRepository,
     IUnitOfWork unitOfWork,
     IMediator mediator)
 {
     _attendeeRepository = attendeeRepository;
     _unitOfWork         = unitOfWork;
     _mediator           = mediator;
 }
 public AttendeesForItemIdController(
     IMapper mapper,
     IAttendeeRepository attendeeRepository,
     IItemRepository itemRepository,
     IWinnerRepository winnerRepository)
 {
     _mapper             = mapper;
     _attendeeRepository = attendeeRepository;
     _itemRepository     = itemRepository;
     _winnerRepository   = winnerRepository;
 }
예제 #13
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NotifyAttendeeOnAttendeeCreatedIntegrationEventHandler"/> class.
 /// </summary>
 /// <param name="attendeeRepository">The attendee repository.</param>
 /// <param name="groupEventRepository">The group event repository.</param>
 /// <param name="userRepository">The user repository.</param>
 /// <param name="emailNotificationService">The email notification service.</param>
 public NotifyAttendeeOnAttendeeCreatedIntegrationEventHandler(
     IAttendeeRepository attendeeRepository,
     IGroupEventRepository groupEventRepository,
     IUserRepository userRepository,
     IEmailNotificationService emailNotificationService)
 {
     _emailNotificationService = emailNotificationService;
     _attendeeRepository       = attendeeRepository;
     _groupEventRepository     = groupEventRepository;
     _userRepository           = userRepository;
 }
예제 #14
0
        public EventAttendanceService(IEventAttendanceRepository eventAttendanceRepository, IAttendeeRepository attendeeRepository,
                                      ICompanyRepository companyRepository, ICoordinatorRepository coordinatorRepository, IMapRepository _mapRepository)
        {
            _eventAttendanceRepository = eventAttendanceRepository;
            _attendeeRepository        = attendeeRepository;
            _companyRepository         = companyRepository;
            _coordinatorRepository     = coordinatorRepository;

            _mapService  = new MapService(_mapRepository);
            _userService = new UserService(_attendeeRepository, _companyRepository, _coordinatorRepository);
        }
예제 #15
0
 public UserService(IUserRepository userRepository, IScheduleRepository scheduleRepository,
                    IActivityRepository activityRepository, IAttendeeRepository attendeeRepository, IUnitOfWork unitOfWork,
                    IMapper mapper)
 {
     _userRepository     = userRepository;
     _scheduleRepository = scheduleRepository;
     _activityRepository = activityRepository;
     _attendeeRepository = attendeeRepository;
     _unitOfWork         = unitOfWork;
     _mapper             = mapper;
 }
예제 #16
0
 public MainPageViewModel(INavigationService navigationService, ITextToSpeechService textToSpeechService, IQRScanService qrScanService, IAttendeeRepository attendeeRepository, ISoundService soundService)
     : base(navigationService)
 {
     Title = "MVP Conference 2019";
     this.textToSpeechService = textToSpeechService;
     this.qrScanService       = qrScanService;
     this.attendeeRepository  = attendeeRepository;
     this.soundService        = soundService;
     ScanCommand          = new DelegateCommand(Scan, HasSession).ObservesProperty(() => CurrentSession);
     SelectSessionCommand = new DelegateCommand(SelectSession);
     SettingsCommand      = new DelegateCommand(Settings);
 }
 // Assign the object in the constructor for dependency injection
 public SchedulesController(IScheduleRepository scheduleRepository,
                            IAttendeeRepository attendeeRepository,
                            IUserRepository userRepository,
                            IMapper mapper,
                            SchedulerContext context)
 {
     _scheduleRepository = scheduleRepository;
     _attendeeRepository = attendeeRepository;
     _userRepository     = userRepository;
     _mapper             = mapper;
     _context            = context;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GroupEventNotificationsProducer"/> class.
 /// </summary>
 /// <param name="groupEventRepository">The group event repository.</param>
 /// <param name="attendeeRepository">The attendee repository.</param>
 /// <param name="notificationRepository">The notification repository.</param>
 /// <param name="dateTime">The date and time.</param>
 /// <param name="unitOfWork">The unit of work.</param>
 public GroupEventNotificationsProducer(
     IGroupEventRepository groupEventRepository,
     IAttendeeRepository attendeeRepository,
     INotificationRepository notificationRepository,
     IDateTime dateTime,
     IUnitOfWork unitOfWork)
 {
     _groupEventRepository   = groupEventRepository;
     _attendeeRepository     = attendeeRepository;
     _notificationRepository = notificationRepository;
     _dateTime   = dateTime;
     _unitOfWork = unitOfWork;
 }
예제 #19
0
        public MainFormNew(IAttendeeRepository attendeeRepository, IPlaceRepository placeRepository, IAttendanceRepository attendanceRepository, IAppUserRepository appUserRepository)
        {
            InitializeComponent();

            AttendeeRepository   = attendeeRepository;
            PlaceRepository      = placeRepository;
            AttendanceRepository = attendanceRepository;
            AppUserRepository    = appUserRepository;


            LoadLoginForm();
            CheckPermissions();

            ToggleMenuButtons(isDashboard: true);
        }
 public AttendeeController(IAttendeeRepository repo)
 {
     _repo = repo;
 }
예제 #21
0
 public void TestInitialize()
 {
     _mockRepository = new MockRepository();
     _mockRepo = _mockRepository.StrictMock<IAttendeeRepository>();
 }
예제 #22
0
 internal Attendee(IAttendeeRepository attendeeRepository)
 {
     _repository = attendeeRepository;
 }
예제 #23
0
 public Attendee()
 {
     _repository = new StructureMapDependencyResolver().GetConcreteInstanceOf<IAttendeeRepository>();
 }
예제 #24
0
 public AttendeeController(IAttendeeRepository repository)
 {
     Requires.NotNull(repository);
     _repository = repository;
 }
예제 #25
0
 public AttendeesService(IAttendeeRepository attendeeRepository)
 {
     this.attendeeRepository = attendeeRepository;
 }
예제 #26
0
 public void TestCleanup()
 {
     _mockRepo = null;
 }
 public AttendeeController(IAttendeeRepository attendeeRepository)
 {
     this._attendeeRepository = attendeeRepository;
 }
 public RegistrationController(IAttendeeRepository attendeeRepository, ILogger <RegistrationController> logger)
 {
     _logger = logger;
     this.attendeeRepository = attendeeRepository;
 }
 public EventAttendanceController(IEventAttendanceRepository eventAttendanceRepository, IAttendeeRepository attendeeRepository,
                                  ICompanyRepository companyRepository, ICoordinatorRepository coordinatorRepository, IMapRepository mapRepository)
 {
     _eventAttendanceService = new EventAttendanceService(eventAttendanceRepository, attendeeRepository, companyRepository, coordinatorRepository, mapRepository);
 }
 public InitializeSegwayPageViewModel(INavigationService navigationService, IApplicationStore applicationStore, IAttendeeRepository attendeeRepository, ISpeakSessionRepository speakSessionRepository) : base(navigationService)
 {
     this.applicationStore       = applicationStore;
     this.attendeeRepository     = attendeeRepository;
     this.speakSessionRepository = speakSessionRepository;
 }
예제 #31
0
 public void LoadRepositories(IAttendanceRepository attendanceRepository, IAttendeeRepository attendeeRepository, IPlaceRepository placeRepository)
 {
     AttendanceRepository = attendanceRepository;
     AttendeeRepository   = attendeeRepository;
     PlaceRepository      = placeRepository;
 }
 public AttendeeAdminController(IAttendeeRepository attendeeRepository )
 {
     _attendeeRepository = attendeeRepository;
 }
예제 #33
0
 public HomeController(IAttendeeRepository attendeeRepository, INosSessionRepository sessionRepository, INosClient nosClient)
 {
     _attendeeRepository = attendeeRepository;
     _sessionRepository = sessionRepository;
     _nosClient = nosClient;
 }
 public MeetingsController(IMeetingRepository meetingRepository, IAttendeeRepository attendeeRepository, ILogger <MeetingsController> logger)
 {
     _logger             = logger;
     _meetingRepository  = meetingRepository;
     _attendeeRepository = attendeeRepository;
 }
 public AttendeesResource(IAttendeeRepository attendeeRepository)
 {
     _attendeeRepository = attendeeRepository;
 }
 public AttendeeController(IAttendeeRepository repository)
 {
     this._repository = repository;
 }
예제 #37
0
 public AttendeeService(IAttendeeRepository atendeeRepository)
 {
     _atendeeRepository = atendeeRepository;
 }
예제 #38
0
 public AttendeeService(IAttendeeRepository _Attendee)
 {
     this._Attendee = _Attendee;
 }
예제 #39
0
 public MeetingService(IMeetingRepository meetingRepository, IAttendeeRepository attendeeRepository, IUserRepository userRepository)
 {
     this.meetingRepository = meetingRepository;
     this.attendeeRepository = attendeeRepository;
     this.userRepository = userRepository;
 }