public CalendarApplicationService(ICalendarRepository calendarRepository, ICalendarEntryRepository calendarEntryRepository, ICollaboratorService collaboratorService) { this.calendarRepository = calendarRepository; this.calendarEntryRepository = calendarEntryRepository; this.calendarIdentityService = new CalendarIdentityService(calendarRepository, calendarEntryRepository); this.collaboratorService = collaboratorService; }
public HomeController(ICalendarRepository repoCalendar, IPostRepository repoNewsItem, ILeaderRepository repoLeader) { _repoCalendar = repoCalendar; _repoNewsItem = repoNewsItem; _repoLeader = repoLeader; }
public void Dispose(bool disposing) { if (disposing) { m_CalendarRepository.Dispose(); m_CalendarRepository = null; } }
public CalendarApplicationService(ICalendarRepository calendarRepository, ICalendarEntryRepository calendarEntryRepository, CalendarIdentityService calendarIdentityService, ICollaboratorService collaboratorService) { this._calendarRepository = calendarRepository; this._calendarEntryRepository = calendarEntryRepository; this._calendarIdentityService = calendarIdentityService; this._collaboratorService = collaboratorService; }
public CalendarServices(ICalendarRepository calendarRepository, ICalendarDayRepository calendarDayRepository, ICalendarDayTypeRepository calendarDayTypeRepository, IUnitOfWork unitOfWork) { _calendarRepository = calendarRepository; _calendarDayRepository = calendarDayRepository; _calendarDayTypeRepistory = calendarDayTypeRepository; _unitOfWork = unitOfWork; }
/// <summary> Constructor.</summary> /// <param name="repository"> The calendar repository. </param> /// <param name="keyBuilder"></param> /// <param name="logFactory"> The factory instance to use for logging operations. </param> public CalendarWebService(ICalendarRepository repository, ICacheKeyBuilder<Guid> keyBuilder, ILogFactory logFactory) { if (repository == null) throw new ArgumentNullException(nameof(repository)); if (keyBuilder == null) throw new ArgumentNullException(nameof(keyBuilder)); if (logFactory == null) throw new ArgumentNullException(nameof(logFactory)); this.repository = repository; this.logFactory = logFactory; this.keyBuilder = keyBuilder; nullkey = keyBuilder.NullKey.ToString(); }
public EventWebService(IEventRepository eventRepository, ICalendarRepository calendarRepository, ICacheKeyBuilder<Guid> keyBuilder, ILogFactory factory) { if (eventRepository == null) throw new ArgumentNullException("eventRepository"); if (calendarRepository == null) throw new ArgumentNullException("calendarRepository"); if (keyBuilder == null) throw new ArgumentNullException("keyBuilder"); if (factory == null) throw new ArgumentNullException("factory"); this.calendarRepository = calendarRepository; this.factory = factory; this.keyBuilder = keyBuilder; this.eventRepository = eventRepository; }
public MainWindow() { InitializeComponent(); this.ProgessBar.Style = ProgressBarStyle.Blocks; _authAuthenticationSettingsRepository = DependencyContainer.Container.Resolve<IRepository<AuthenticationSettingsModel>>(); _tokenRepository = DependencyContainer.Container.Resolve<ITokenRepository>(); _syncSettingsRepository = DependencyContainer.Container.Resolve<IRepository<SyncSettingsModel>>(); _bus = DependencyContainer.Container.Resolve<IMessageBus>(); _merger = DependencyContainer.Container.Resolve<ICalendarMerge>(); _calendarRepository = DependencyContainer.Container.Resolve<ICalendarRepository>(); _items = new BindingList<CalendarItemViewModel>(); PrepareDataGridView(); }
public CalendarController(AppDbContext appDbContext, IMapper mapper, ICalendarRepository calendarRepository) { _mapper = mapper; _appDbContext = appDbContext; _calendarRepository = calendarRepository; }
public DiscountsDataController(ICalendarRepository calendarRepository, IDiscountRepository discountRepository, IShoppingCartRepository shoppingCartRepository) { _calendarRepository = calendarRepository; _discountRepository = discountRepository; _cartRepository = shoppingCartRepository; }
public SmsRepository(IHostingEnvironment env, IConfiguration config, AppDbContext appDbContext, ICalendarRepository calendar) { _calendar = calendar; _env = env; _appDbContext = appDbContext; _accountSid = config.GetSection("TwilioAccoundSid").Value; _authToken = config.GetSection("TwilioAuthToken").Value; _sender = config.GetSection("TwilioSender").Value; _config = config; TwilioClient.Init(_accountSid, _authToken); }
public CalendarService(ICalendarRepository calendarRepository) { this.calendarRepository = calendarRepository; }
public CalendarController(ICalendarRepository calendarRepository) { CalendarRepository = calendarRepository; }
public CalendarService(ICalendarRepository repo) { this.repository = repo; }
public CalendarsController(ICalendarRepository repo) { repository = repo; }
public HomeController(IConstantRepository ConstantParam, IMinistryRepository MinistryParam, ICalendarRepository CalendarParam, IMeetingRepository MeetingParam, IAnnouncementRepository AnnouncementParam, IStoryRepository StoryParam, IPictureRepository PictureParam, IListtableRepository ListTableParam, IDocumentRepository DocumentParam, IVideoRepository VideoParam, IVisitorRepository VisitorParam) { ConstantRepository = ConstantParam; MinistryRepository = MinistryParam; CalendarRepository = CalendarParam; MeetingRepository = MeetingParam; AnnouncementRepository = AnnouncementParam; StoryRepository = StoryParam; PictureRepository = PictureParam; ListTableRepository = ListTableParam; DocumentRepository = DocumentParam; VideoRepository = VideoParam; VisitorRepository = VisitorParam; }
public DiscountRepository(ICalendarRepository calendar, AppDbContext appDbContext) { _calendarRepository = calendar; _appDbContext = appDbContext; }
public CalendarService(ICalendarRepository repository) { _repository = repository; }
public TimeService(IMapper mapper, ISessionService sessionService, IGameService gameService, ICalendarRepository calendarRepository) { _mapper = mapper; _sessionService = sessionService; _gameService = gameService; _calendarRepository = calendarRepository; }
public AddCalendarAvailabilityCommandHandler(ICalendarRepository calendarRepository) { _calendarRepository = calendarRepository ?? throw new ArgumentNullException(nameof(calendarRepository)); }
public CalendarPersistencePort(ICalendarRepository calendarRepository) { _calendarRepository = calendarRepository; }
public GetResourcesCalendarQueryHandler(ICalendarRepository repo) { _repo = repo; }
public CalendarMerger(ICalendarRepository calendarRepository) { _calendarRepository = calendarRepository; }
public UserService(IUserRepository repository) { _repository = repository; _companyRepository = new CompanyRepository(); _calendarRepository = new CalendarRepository(); _productGroupRepository = new ProductGroupRepository(); var productschedrapo = new ProductScheduleRepository(); _repositoryschedule = new ProductScheduleService(productschedrapo); }
public CalendarController(ICalendarRepository repository) { this.repository = repository; }
public CalendarIdentityService(ICalendarRepository calendarRepository, ICalendarEntryRepository calendarEntryRepository) { this.calendarRepository = calendarRepository; this.calendarEntryRepository = calendarEntryRepository; }
public SchedulingController(ICalendarRepository calendarRepository, IUserCalendarService userCalendar, IEventService eventService) { _calendarRepository = calendarRepository; _userCalendar = userCalendar; _eventService = eventService; }
public BlockCalendarDatesCommandHandler(ICalendarRepository calendarRepository) { _calendarRepository = calendarRepository ?? throw new ArgumentNullException(nameof(calendarRepository)); }
public MenuViewComponent(ICalendarRepository calendarRepository) { _calendarRepository = calendarRepository; }
public GetWorkersCalendarQueryHandler(ICalendarRepository repo) { _repo = repo; }
public CreateCalendarCommandHandler(ICalendarRepository calendarRepository, IPropertyRepository propertyRepository, ILogger <CreateCalendarCommandHandler> logger) { _calendarRepository = calendarRepository ?? throw new ArgumentNullException(nameof(calendarRepository)); _propertyRepository = propertyRepository ?? throw new ArgumentNullException(nameof(propertyRepository)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public WorkersSchedulesController(ICalendarRepository <WorkerScheduleRecord> workerScheduleRepository) { this.workerScheduleRepository = workerScheduleRepository; }
public CalendarNotesViewModel(IMasterDetailNavigation navigationService, IMessagingService messagingService, ICalendarRepository repo) { _navigationService = navigationService; _messagingService = messagingService; _repo = repo; Title = AppResources.CommentTitle; SaveCommand = new Command(async() => await OnSave()); }
public HomeController() { _calendarRepo = new GoogleCalendarPublicRepository("*****@*****.**"); }
public EventService(IEventRepository eventRepository, ICalendarRepository calendarRepository) { this.eventRepository = eventRepository; this.calendarRepository = calendarRepository; }
public CalendarIdentityService(ICalendarRepository calendarRepository, ICalendarEntryRepository calendarEntryRepository) { this._calendarRepository = calendarRepository; this._calendarEntryRepository = calendarEntryRepository; }
public CalendarController(ICalendarRepository repository, ILogger <CalendarController> logger) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public ShoppingCartController(ILunchRepository lunchRep, ICatalogRepository catalogRepository, IHttpContextAccessor contextAccessor, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IConfiguration config, ICalendarRepository calendarRepository, IPieRepository pieRepository, IShoppingCartRepository shoppingCart, IMercadoPago mp) { _lunchRep = lunchRep; _contextAccessor = contextAccessor; _userManager = userManager; _signInManager = signInManager; _config = config; _pieRepository = pieRepository; _catalogRepository = catalogRepository; _cartRepository = shoppingCart; _bookingId = shoppingCart.GetSessionCartId(); _friendlyBookingId = _bookingId.Ending(6); _calendarRepository = calendarRepository; _mp = mp; _minimumArsForOrderDelivery = _config.GetValue <int>("MinimumArsForOrderDelivery"); _maxArsForReservation = _config.GetValue <int>("MaxArsForReservation"); _minimumCharge = _config.GetValue <int>("LowestDeliveryCost"); _costByBlock = _config.GetValue <int>("DeliveryCostByBlock"); _deliveryRadius = _config.GetValue <int>("DeliveryRadius"); }
public OrderController(ISmsRepository smsRepository, IConfiguration config, SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, ICalendarRepository calendarRepository, IMapper mp, IEmailRepository emailRespository, IOrderRepository orderRepository, IPieDetailRepository pieDetailRepository, IShoppingCartRepository shoppingCart, IAccountRepository accountRepository) { _signInManager = signInManager; _userManager = userManager; _pieDetailRepository = pieDetailRepository; _orderRepository = orderRepository; _cartRepository = shoppingCart; _accountRepository = accountRepository; _emailRespository = emailRespository; _mp = mp; _calendarRepository = calendarRepository; _config = config; _minimumArsForOrderDelivery = _config.GetValue <int>("MinimumArsForOrderDelivery"); _maxArsForReservation = _config.GetValue <int>("MaxArsForReservation"); _smsRepository = smsRepository; }
public GameService(ISessionService sessionService, IMapper mapper, IUserService userService, IGameRepository gameRepository, ICalendarRepository calendarRepository) { _sessionService = sessionService; _mapper = mapper; _userService = userService; _gameRepository = gameRepository; _calendarRepository = calendarRepository; }
public ElectronicBillingRepository(AppDbContext dbCtx, IMapper mapper, IDistributedCache serverCache, IHostingEnvironment env, IConfiguration config, ICalendarRepository calendar) { _dbCtx = dbCtx; _mapper = mapper; _calendar = calendar; _env = env; _config = config; _serverCache = serverCache; _isProd = _env.IsProduction(); }
public CalendarManager(ICalendarRepository calendarRepository) { m_CalendarRepository = calendarRepository; }
public static void RegisterService(ICalendarRepository service) { _service = service; }
public HomeController(ICalendarRepository calendarRepository) { this.calendarRepository = calendarRepository; }
public CalendarService(IUserRepository userRepository, ICalendarRepository calendarRepository) { this.userRepository = userRepository; this.calendarRepository = calendarRepository; }
public CalendarDataController(AppDbContext appDbContext, IShoppingCartRepository sCart, IMapper mapper, ICalendarRepository calendarRepository) { _cartRepository = sCart; _appDbContext = appDbContext; _mapper = mapper; _calendarRepository = calendarRepository; }