public EventsController(IEventsRepository eventsRepository, IMapper mapper, IPhotoService photoService, IUserRepository userRepository) { _userRepository = userRepository; _photoService = photoService; _mapper = mapper; _eventsRepository = eventsRepository; }
public EventsController(IMapper mapper, IEventsRepository gamesRepository, IOrderByPropertyMappingService <EventDto, Event> orderByPropertyMappingService, IEntityUpdater <Event, Guid> entityUpdater) : base(mapper, gamesRepository, entityUpdater, orderByPropertyMappingService) { }
public GamesService(IGamesContext context, IMapper mapper) { _context = context; _mapper = mapper; _gameRepo = new GameRepository(context); _eventRepo = new EventRepository(context); }
public EventsController(ISemestersRepository semestersRepository, IEventsRepository eventsRepository, IUserEventsRepository userEventsRepository, IUsersRepository usersRepository) { this.semestersRepository = semestersRepository; this.eventsRepository = eventsRepository; this.userEventsRepository = userEventsRepository; this.usersRepository = usersRepository; }
/// <summary> /// Initializes a new instance of the <see cref="WebHookHandler" /> class. /// </summary> /// <param name="applicationLogRepository">The application log repository.</param> /// <param name="subscriptionsLogRepository">The subscriptions log repository.</param> /// <param name="subscriptionsRepository">The subscriptions repository.</param> /// <param name="planRepository">The plan repository.</param> /// <param name="offersAttributeRepository">The offers attribute repository.</param> /// <param name="offersRepository">The offers repository.</param> /// <param name="fulfillApiClient">The fulfill API client.</param> /// <param name="usersRepository">The users repository.</param> /// <param name="loggerFactory">The logger factory.</param> /// <param name="emailService">The email service.</param> /// <param name="eventsRepository">The events repository.</param> /// <param name="applicationConfigRepository">The application configuration repository.</param> /// <param name="emailTemplateRepository">The email template repository.</param> /// <param name="planEventsMappingRepository">The plan events mapping repository.</param> public WebHookHandler(IApplicationLogRepository applicationLogRepository, ISubscriptionLogRepository subscriptionsLogRepository, ISubscriptionsRepository subscriptionsRepository, IPlansRepository planRepository, IOfferAttributesRepository offersAttributeRepository, IOffersRepository offersRepository, IFulfillmentApiClient fulfillApiClient, IUsersRepository usersRepository, ILoggerFactory loggerFactory, IEmailService emailService, IEventsRepository eventsRepository, IApplicationConfigRepository applicationConfigRepository, IEmailTemplateRepository emailTemplateRepository, IPlanEventsMappingRepository planEventsMappingRepository) { this.applicationLogRepository = applicationLogRepository; this.subscriptionsRepository = subscriptionsRepository; this.planRepository = planRepository; this.subscriptionsLogRepository = subscriptionsLogRepository; this.applicationLogService = new ApplicationLogService(this.applicationLogRepository); this.subscriptionService = new SubscriptionService(this.subscriptionsRepository, this.planRepository); this.emailService = emailService; this.loggerFactory = loggerFactory; this.usersRepository = usersRepository; this.eventsRepository = eventsRepository; this.offersAttributeRepository = offersAttributeRepository; this.fulfillApiClient = fulfillApiClient; this.applicationConfigRepository = applicationConfigRepository; this.emailTemplateRepository = emailTemplateRepository; this.planEventsMappingRepository = planEventsMappingRepository; this.offersRepository = offersRepository; this.notificationStatusHandlers = new NotificationStatusHandler( fulfillApiClient, planRepository, applicationConfigRepository, emailTemplateRepository, planEventsMappingRepository, offersAttributeRepository, eventsRepository, subscriptionsRepository, usersRepository, offersRepository, emailService, this.loggerFactory.CreateLogger <NotificationStatusHandler>()); }
public EventsService(IEventsRepository eventsRepository, IMapper mapper, IMemoryCache cache, IOptions <Contracts.Options.MemoryCacheOptions> cacheOptions) { _cache = cache ?? throw new ArgumentNullException(nameof(cache)); _cacheOptions = cacheOptions?.Value ?? throw new ArgumentNullException(nameof(cacheOptions)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _eventsRepository = eventsRepository ?? throw new ArgumentNullException(nameof(eventsRepository)); }
/// <summary> /// Initializes a new instance of the <see cref="HomeController" /> class. /// </summary> /// <param name="usersRepository">The users repository.</param> /// <param name="apiClient">The API client.</param> /// <param name="logger">The logger.</param> /// <param name="subscriptionRepo">The subscription repo.</param> /// <param name="planRepository">The plan repository.</param> /// <param name="subscriptionUsageLogsRepository">The subscription usage logs repository.</param> /// <param name="dimensionsRepository">The dimensions repository.</param> /// <param name="subscriptionLogsRepo">The subscription logs repo.</param> /// <param name="applicationConfigRepository">The application configuration repository.</param> /// <param name="userRepository">The user repository.</param> /// <param name="fulfillApiClient">The fulfill API client.</param> /// <param name="applicationLogRepository">The application log repository.</param> /// <param name="emailTemplateRepository">The email template repository.</param> /// <param name="planEventsMappingRepository">The plan events mapping repository.</param> /// <param name="eventsRepository">The events repository.</param> /// <param name="options">The options.</param> /// <param name="subscriptionTemplateParametersRepository">The subscription template parameters repository.</param> /// <param name="cloudConfigs">The cloud configs.</param> public HomeController( IUsersRepository usersRepository, IMeteredBillingApiClient apiClient, ILogger <HomeController> logger, ISubscriptionsRepository subscriptionRepo, IPlansRepository planRepository, ISubscriptionUsageLogsRepository subscriptionUsageLogsRepository, IMeteredDimensionsRepository dimensionsRepository, ISubscriptionLogRepository subscriptionLogsRepo, IApplicationConfigRepository applicationConfigRepository, IUsersRepository userRepository, IFulfillmentApiClient fulfillApiClient, IApplicationLogRepository applicationLogRepository, IEmailTemplateRepository emailTemplateRepository, IPlanEventsMappingRepository planEventsMappingRepository, IEventsRepository eventsRepository, IOptions <SaaSApiClientConfiguration> options, CloudStorageConfigs cloudConfigs) { this.apiClient = apiClient; this.subscriptionRepo = subscriptionRepo; this.subscriptionLogRepository = subscriptionLogsRepo; this.planRepository = planRepository; this.subscriptionUsageLogsRepository = subscriptionUsageLogsRepository; this.dimensionsRepository = dimensionsRepository; this.logger = logger; this.applicationConfigRepository = applicationConfigRepository; this.usersRepository = usersRepository; this.userRepository = userRepository; this.userService = new UserService(userRepository); this.fulfillApiClient = fulfillApiClient; this.applicationLogRepository = applicationLogRepository; this.applicationLogService = new ApplicationLogService(this.applicationLogRepository); this.applicationConfigRepository = applicationConfigRepository; this.subscriptionRepository = this.subscriptionRepo; this.subscriptionService = new SubscriptionService(this.subscriptionRepository, this.planRepository); this.emailTemplateRepository = emailTemplateRepository; this.planEventsMappingRepository = planEventsMappingRepository; this.eventsRepository = eventsRepository; this.options = options; this.cloudConfigs = cloudConfigs; this.azureWebJobsStorage = cloudConfigs.AzureWebJobsStorage; }
public GetResultsHandler(ITestRunsRepository testRunsRepository, IEventsRepository eventsRepository, IEntrantsRepository entrantsRepository) { this.testRunsRepository = testRunsRepository; this.eventsRepository = eventsRepository; this.entrantsRepository = entrantsRepository; totalTimeCalculator = new AutoTestTotalTimeCalculator(); }
/// <summary> /// Initializes a new instance of the <see cref="NotificationStatusHandler"/> class. /// </summary> /// <param name="fulfillApiClient">The fulfill API client.</param> /// <param name="planRepository">The plan repository.</param> /// <param name="applicationConfigRepository">The application configuration repository.</param> /// <param name="emailTemplateRepository">The email template repository.</param> /// <param name="planEventsMappingRepository">The plan events mapping repository.</param> /// <param name="offerAttributesRepository">The offer attributes repository.</param> /// <param name="eventsRepository">The events repository.</param> /// <param name="subscriptionRepository">The subscription repository.</param> /// <param name="usersRepository">The users repository.</param> /// <param name="offersRepository">The offers repository.</param> /// <param name="subscriptionTemplateParametersRepository">The subscription template parameters repository.</param> /// <param name="emailService">The email service.</param> /// <param name="emailHelper">The email helper.</param> /// <param name="logger">The logger.</param> public NotificationStatusHandler( IFulfillmentApiClient fulfillApiClient, IPlansRepository planRepository, IApplicationConfigRepository applicationConfigRepository, IEmailTemplateRepository emailTemplateRepository, IPlanEventsMappingRepository planEventsMappingRepository, IOfferAttributesRepository offerAttributesRepository, IEventsRepository eventsRepository, ISubscriptionsRepository subscriptionRepository, IUsersRepository usersRepository, IOffersRepository offersRepository, IEmailService emailService, ILogger <NotificationStatusHandler> logger) : base(subscriptionRepository, planRepository, usersRepository) { this.fulfillmentApiClient = fulfillApiClient; this.applicationConfigRepository = applicationConfigRepository; this.planEventsMappingRepository = planEventsMappingRepository; this.offerAttributesRepository = offerAttributesRepository; this.eventsRepository = eventsRepository; this.emailTemplateRepository = emailTemplateRepository; this.subscriptionRepository = subscriptionRepository; this.planRepository = planRepository; this.subscriptionService = new SubscriptionService(this.subscriptionRepository, this.planRepository); this.offersRepository = offersRepository; this.emailService = emailService; this.emailHelper = new EmailHelper(applicationConfigRepository, subscriptionRepository, emailTemplateRepository, planEventsMappingRepository, eventsRepository); this.logger = logger; }
public EventsHandler( IEventsRepository repository, IUserStateRepository stateRepository) { _repository = repository; _stateRepository = stateRepository; }
public EventsService( IEventsRepository eventsRepo, IParticipantsUpdatedNotifier participantsUpdatedNotifier) { _eventsRepo = eventsRepo; _participantsUpdatedNotifier = participantsUpdatedNotifier; }
/// <summary> /// Initializes a new instance of the <see cref="AggregateRoot<TEntity>"/> class. /// </summary> /// <param name="repository">The repository.</param> /// <param name="stateMachineDecorator">The state machine decorator.</param> /// <param name="applierEvents">The applier events.</param> public AggregateRoot(IEventsRepository <TEntity, TId> repository, IFsmDecorator <TEntity> stateMachineDecorator, IApplierEvents applierEvents) { _repository = repository; _stateMachineDecorator = stateMachineDecorator; _applierEvents = applierEvents; _appliedEvents = new List <IDomainEvent <TEntity> >(); }
public AdminController(IAdminRepository _adminRepository, ISliderRepository _sliderRepository, IEventsRepository _eventsRepository, IMomentsRepository _momentsRepository) { adminRepository = _adminRepository; sliderRepository = _sliderRepository; eventsRepository = _eventsRepository; momentsRepository = _momentsRepository; }
public static async Task <HttpResponseMessage> Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequestMessage req, TraceWriter log) { try { log.Info("C# HTTP trigger function processed a request."); // parse query parameter string eventId = req.GetQueryNameValuePairs() .FirstOrDefault(q => string.Compare(q.Key, "eventId", true) == 0) .Value; IEventsRepository eventsRepository = RepositoryFactory.GetEventsRepository(); if (!string.IsNullOrEmpty(eventId)) { // Get of a specific event var guid = Guid.Parse(eventId); var @event = eventsRepository.GetEvent(guid); return(@event != null?req.CreateResponse(HttpStatusCode.Found, @event) : req.CreateErrorResponse(HttpStatusCode.NotFound, "Event not found")); } // Get request body dynamic data = await req.Content.ReadAsAsync <object>(); List <IEvent> events = eventsRepository.GetEvents((string)data?.category, (IAddress)data?.location, (DateTime?)data?.fromDate, (DateTime?)data?.toDate); return(req.CreateResponse(HttpStatusCode.OK, events)); } catch (Exception ex) { log.Error("Error", ex, "GetEvents.cs"); return(req.CreateErrorResponse(HttpStatusCode.InternalServerError, ex)); } }
public TaskExecutionRepository(ITaskRepository taskRepository, IExecutionTokenRepository executionTokenRepository, IEventsRepository eventsRepository) { _taskRepository = taskRepository; _executionTokenRepository = executionTokenRepository; _eventsRepository = eventsRepository; }
public EventsService( IEventsRepository <TAggregate, TAggregateId> eventsRepository, IEventProducer <TAggregate, TAggregateId> eventProducer) { _eventsRepository = eventsRepository ?? throw new ArgumentNullException(nameof(eventsRepository)); _eventProducer = eventProducer ?? throw new ArgumentNullException(nameof(eventProducer)); }
public UpdateEventValidator(IEventsRepository eventsRepository) { _eventsRepository = eventsRepository; RuleFor(e => e.Id).Must(id => CheckIfEventExists(id)).WithMessage("Event Not Found").NotEmpty().GreaterThan(0); RuleFor(e => e.Payload.Name).MaximumLength(50); RuleFor(e => e.Payload.Description).MaximumLength(150); }
public TournamentsManager(ITeamsRepository teamsRepository, IGamesRepository gamesRepository, IEventsRepository eventsRepository, TournamentsMapper tournamentsMapper, ILeaguesRepository leaguesRepository) { _teamsRepository = teamsRepository; _gamesRepository = gamesRepository; _eventsRepository = eventsRepository; _tournamentsMapper = tournamentsMapper; _leaguesRepository = leaguesRepository; }
public TaskExecutionRepository(ITaskRepository taskRepository, IExecutionTokenRepository executionTokenRepository, IEventsRepository eventsRepository) { _taskRepository = taskRepository; _executionTokenRepository = executionTokenRepository; _eventsRepository = eventsRepository; }
/// <summary> /// Constructor method. /// </summary> public SearchService(IWebContext webContext, IContactsRepository contactsRepository, ILocationsRepository locationsRepository, IEventsRepository eventsRepository, IUsersRepository usersRepository) { _webContext = webContext; _contactsRepository = contactsRepository; _locationsRepository = locationsRepository; _eventsRepository = eventsRepository; _usersRepository = usersRepository; }
public MonthGridViewModel(IEventsRepository eventsRepository, User currentUser) { Events = eventsRepository.GetUserEvents(currentUser); CurrentDate = DateTime.Today; MonthDays = InitializeDays(); NextMonthCommand = new RelayCommand(OnNextMonthSelected); PreviousMonthCommand = new RelayCommand(OnPreviousMonthSelected); }
public Planner(IEventsRepository eventsRepository, IAddPolicy shareableSchedulePolicy, IAddPolicy exclusiveSchedulePolicy) { this.eventsRepository = eventsRepository; this.shareableSchedulePolicy = shareableSchedulePolicy; this.exclusiveSchedulePolicy = exclusiveSchedulePolicy; }
public GamesManager(IGamesRepository gamesRepository, IPlayersRepository playersRepository, GamesMapper gameMapper, ITeamsRepository teamsRepository, IEventsRepository eventsRepository) { _gamesRepository = gamesRepository; _playersRepository = playersRepository; _gameMapper = gameMapper; _teamsRepository = teamsRepository; _eventsRepository = eventsRepository; }
public SignInViewModel(IEventsRepository eventsRepository, ChangeUserCallback changeUser) { this.eventsRepository = eventsRepository; changeUserCallback = changeUser; SignInCommand = new RelayCommand(OnSignInSelected, CanSignIn); UsernameText = null; }
public CompetitionBusinessLogic(ICompetitionsRepository competitionsRepository, ICompetitionEventsRepository competitionEventsRepository, IEventsRepository eventsRepository, ICompetitorRepository competitorRepository, ICompetitorEventsRepository competitorEventsRepository) { _competitionRepository = competitionsRepository; _competitionEventsRepository = competitionEventsRepository; _eventsRepository = eventsRepository; _competitorRepository = competitorRepository; _competitorEventsRepository = competitorEventsRepository; }
public UserEventsService(IEventsRepository eventsRepository, IUserEventsReader eventsReader, IPicturesRepository picturesRepository) { _eventsRepository = eventsRepository; _picturesRepository = picturesRepository; _eventsReader = eventsReader; }
public static void DropListingCollections( ICategoriesRepository _categoriesRepo, IEventsRepository _eventRepo, IBusinessRepository _businessRepo) { _businessRepo.Db.DropCollection("businesses"); _eventRepo.Db.DropCollection("events"); //_categoriesRepo.Db.DropCollection("categories"); }
public RealTimeRetriever(IBetsApiClient betsApiClient, IEventsRepository eventsRepository, RealTimeRetrieverConfiguration configuration, Func <PostgreSqlDbContext> dbContextAccessor) { _betsApiClient = betsApiClient ?? throw new ArgumentNullException(nameof(betsApiClient)); _eventsRepository = eventsRepository ?? throw new ArgumentNullException(nameof(eventsRepository)); _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _dbContextAccessor = dbContextAccessor ?? throw new ArgumentNullException(nameof(dbContextAccessor)); }
public SoilMoistureController(string message, ILogger log, IMapper mapper, IMediator mediator, IEventsRepository repository, IPlantsRepository plantsRepository) { _message = message; _log = log; _mapper = mapper; _mediator = mediator; _eventsRepository = repository; _plantsRepository = plantsRepository; }
public static void SeedEvents(IEventsRepository _eventRepo) { var events = GetSeedEventListings(); foreach (var e in events) { _eventRepo.Add(e); } }
public static IEventsRepository GetEventsRepository() { if (eventsRepository == null) { eventsRepository = new EventsRepository(); } return(eventsRepository); }
public TeamsManager(ITeamsRepository teamsRepository, IPlayersRepository playersRepository, IGamesRepository gamesRepository, ILeaguesRepository leaguesRepository, TeamsMapper teamMapper, IEventsRepository eventsRepository) { _teamsRepository = teamsRepository; _playersRepository = playersRepository; _gamesRepository = gamesRepository; _leaguesRepository = leaguesRepository; _teamMapper = teamMapper; _eventsRepository = eventsRepository; }
public DataManager(IBannersRepository bannersRepository, ICategoriesRepository categoriesRepository, IDishesRepository dishesRepository, IEventsRepository eventsRepository, IOrdersRepository ordersRepository, ITextFieldsRepository textFieldsRepository) { Banners = bannersRepository; Categories = categoriesRepository; Dishes = dishesRepository; Events = eventsRepository; Orders = ordersRepository; TextFields = textFieldsRepository; }
public HomeController(IIdentiService identiService, IEventsRepository eventsRepository, ITicketsRepository ticketsRepository, IOrderService orderService, IEventManagementService eventManagementService) : base() { _identiService = identiService; _eventsRepository = eventsRepository; _ticketsRepository = ticketsRepository; _orderService = orderService; _eventManagementService = eventManagementService; }
public EventRegistrationBusinessLogic(IWaRepository waRepo, IEventsRepository eventsRepo, IAuditRepository registrationRepo, IConfiguration config, IMailOps mailOps) { _waRepo = waRepo; _eventsRepository = eventsRepo; _registrationRepo = registrationRepo; _mailOps = mailOps; _name = config.GetSection("Secrets:Name").Value; _transactionKey = config.GetSection("Secrets:TransactionKey").Value; }
public LeaguesManager(ILeaguesRepository leaguesRepository, ITeamsRepository teamsRepository, IGamesRepository gamesRepository, IPlayersRepository playersRepository, IUsersRepository usersRepository, TeamsMapper teamMapper, UserStatisticCalculation userStatisticCalculation, LeaguesMapper leaguesMapper, IEventsRepository eventsRepository) { _leaguesRepository = leaguesRepository; _teamsRepository = teamsRepository; _gamesRepository = gamesRepository; _playersRepository = playersRepository; _usersRepository = usersRepository; _teamMapper = teamMapper; _userStatisticCalculation = userStatisticCalculation; _leaguesMapper = leaguesMapper; _eventsRepository = eventsRepository; }
public EventsController() { try { if (!Tracker.IsActive) { Tracker.StartTracking(); } this._contactListRepository = new ContactListRepository(); this._eventsRepository = new EventsRepository(RenderingContext.Current.Rendering.Item); } catch (Exception) { // RenderingContext does not like to be called from Javascript :< That's really a dirty things } }
protected BaseController(IControllerData data) { this.accountRepository = data.AccountRepository; this.formsAuthentication = data.FormsAuthentication; this.articlesRepository = data.ArticlesRepository; this.staticPagesRepository = data.StaticPagesRepository; this.filesRepository = data.FilesRepository; this.lecturersRepository = data.LecturersRepository; this.eventsRepository = data.EventsRepository; this.settingsRepository = data.SettingsRepository; this.committeeRepository = data.CommitteeRepository; this.slideshowRepository = data.SlideshowRepository; this.albumRepository = data.AlbumRepository; this.galleryRepository = data.GalleryRepository; this.feedbackRepository = data.FeedbackRepository; this.sessionsRepository = data.SessionsRepository; this.bannersRepository = data.BannersRepository; }
public string EventListCalendarData(string Id, string Database, string SiteName) { //The context here is not set; I'm getting info that I need via parameters ID sitecoreID; if (!ID.TryParse(Id, out sitecoreID)) { return null; } List<EventMinifiedViewModel> items = null; using (new SiteContextSwitcher(SiteContextFactory.GetSiteContext(SiteName))) { this._eventsRepository = new EventsRepository(Sitecore.Configuration.Factory.GetDatabase(Database).GetItem(sitecoreID)); items = this._eventsRepository.GetMinified().Select(sitecoreEvent => MapToEventMinifiedViewModel(sitecoreEvent)).ToList(); } return JsonConvert.SerializeObject(items); }
public ControllerData(IFormsAuthentication formsAuthentication, IAccountRepository accountRepository, IArticlesRepository articlesRepository, IStaticPagesRepository staticPagesRepository, IFilesRepository filesRepository, ILecturersRepository lecturersRepository, IEventsRepository eventsRepository, ISettingsRepository settingsRepository, ICommitteeRepository committeeRepository, ISlideshowRepository slideshowRepository, IAlbumRepository albumRepository, IGalleryRepository galleryRepository, IFeedbackRepository feedbackRepository, ISessionsRepository sessionsRepository, IBannersRepository bannersRepository) { this.FormsAuthentication = formsAuthentication; this.AccountRepository = accountRepository; this.ArticlesRepository = articlesRepository; this.StaticPagesRepository = staticPagesRepository; this.FilesRepository = filesRepository; this.LecturersRepository = lecturersRepository; this.EventsRepository = eventsRepository; this.SettingsRepository = settingsRepository; this.CommitteeRepository = committeeRepository; this.SlideshowRepository = slideshowRepository; this.AlbumRepository = albumRepository; this.GalleryRepository = galleryRepository; this.FeedbackRepository = feedbackRepository; this.SessionsRepository = sessionsRepository; this.BannersRepository = bannersRepository; }
public EventsController(IEventsRepository eventsRepository, IContactListRepository contactListRepository) { this._eventsRepository = eventsRepository; this._contactListRepository = contactListRepository; }
public EventController(IEventsRepository eventsrepository) { this.eventsrepository = eventsrepository; }
public TasklingClient(IConfigurationReader configurationReader, ITaskRepository taskRepository = null, ITasklingConfiguration configuration = null, ITaskExecutionRepository taskExecutionRepository = null, IExecutionTokenRepository executionTokenRepository = null, ICommonTokenRepository commonTokenRepository = null, IEventsRepository eventsRepository = null, ICriticalSectionRepository criticalSectionRepository = null, IBlockFactory blockFactory = null, IBlockRepository blockRepository = null, IRangeBlockRepository rangeBlockRepository = null, IListBlockRepository listBlockRepository = null, IObjectBlockRepository objectBlockRepository = null, ICleanUpService cleanUpService = null, ICleanUpRepository cleanUpRepository = null) { if (taskRepository == null) taskRepository = new TaskRepository(); if (configuration == null) _configuration = new TasklingConfiguration(configurationReader); if (commonTokenRepository == null) commonTokenRepository = new CommonTokenRepository(); if (executionTokenRepository == null) executionTokenRepository = new ExecutionTokenRepository(commonTokenRepository); if (eventsRepository == null) eventsRepository = new EventsRepository(); if (taskExecutionRepository != null) _taskExecutionRepository = taskExecutionRepository; else _taskExecutionRepository = new TaskExecutionRepository(taskRepository, executionTokenRepository, eventsRepository); if (criticalSectionRepository != null) _criticalSectionRepository = criticalSectionRepository; else _criticalSectionRepository = new CriticalSectionRepository(taskRepository, commonTokenRepository); if (blockRepository == null) blockRepository = new BlockRepository(taskRepository); if (rangeBlockRepository != null) _rangeBlockRepository = rangeBlockRepository; else _rangeBlockRepository = new RangeBlockRepository(taskRepository); if (listBlockRepository != null) _listBlockRepository = listBlockRepository; else _listBlockRepository = new ListBlockRepository(taskRepository); if (objectBlockRepository != null) _objectBlockRepository = objectBlockRepository; else _objectBlockRepository = new ObjectBlockRepository(taskRepository); if (blockFactory != null) _blockFactory = blockFactory; else _blockFactory = new BlockFactory(blockRepository, _rangeBlockRepository, _listBlockRepository, _objectBlockRepository, _taskExecutionRepository); if (cleanUpRepository == null) cleanUpRepository = new CleanUpRepository(taskRepository); if (cleanUpService != null) _cleanUpService = cleanUpService; else _cleanUpService = new CleanUpService(_configuration, cleanUpRepository); }
/// <summary> /// Constructor /// </summary> public EventsController(IEventsRepository eventsRepository, IVenuesRepository venuesRepository, IMembersRepository membersRepository) { _eventsRepository = eventsRepository; _venuesRepository = venuesRepository; _membersRepository = membersRepository; }
public ExclusiveSchedulePolicy(IEventsRepository eventsRepository) { this.eventsRepository = eventsRepository; }
public EventsNearYouController(IEventsRepository eventsrepository, IAppSettings settings) { this.eventsrepository = eventsrepository; this.settings = settings; }
public ShareableSchedulePolicy(IEventsRepository eventsRepository) { this.eventsRepository = eventsRepository; }
public EventService(IEventsRepository eventsRepository) { this.eventsRepository = eventsRepository; }
public EventsManager(IEventsRepository repository) { _repository = repository; }
public EventsManager(IEventsRepository eventsRepository, EventsMapper eventMapper) { _eventsRepository = eventsRepository; _eventMapper = eventMapper; }