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;
 }
Пример #3
0
 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;
 }
Пример #5
0
 public CalendarServices(ICalendarRepository calendarRepository,
     ICalendarDayRepository calendarDayRepository,
     ICalendarDayTypeRepository calendarDayTypeRepository,
     IUnitOfWork unitOfWork)
 {
     _calendarRepository = calendarRepository;
     _calendarDayRepository = calendarDayRepository;
     _calendarDayTypeRepistory = calendarDayTypeRepository;
     _unitOfWork = unitOfWork;
 }
Пример #6
0
        /// <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();
        }
Пример #7
0
        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;
        }
Пример #8
0
 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();
 }
Пример #9
0
 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;
 }
Пример #11
0
 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);
 }
Пример #12
0
 public CalendarService(ICalendarRepository calendarRepository)
 {
     this.calendarRepository = calendarRepository;
 }
Пример #13
0
 public CalendarController(ICalendarRepository calendarRepository)
 {
     CalendarRepository = calendarRepository;
 }
Пример #14
0
 public CalendarService(ICalendarRepository repo)
 {
     this.repository = repo;
 }
Пример #15
0
		public CalendarsController(ICalendarRepository repo) 
		{
			repository = repo;
		}
Пример #16
0
 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;
 }
Пример #17
0
 public DiscountRepository(ICalendarRepository calendar, AppDbContext appDbContext)
 {
     _calendarRepository = calendar;
     _appDbContext       = appDbContext;
 }
Пример #18
0
 public CalendarService(ICalendarRepository repository)
 {
     _repository = repository;
 }
Пример #19
0
 public TimeService(IMapper mapper, ISessionService sessionService, IGameService gameService, ICalendarRepository calendarRepository)
 {
     _mapper             = mapper;
     _sessionService     = sessionService;
     _gameService        = gameService;
     _calendarRepository = calendarRepository;
 }
Пример #20
0
 public AddCalendarAvailabilityCommandHandler(ICalendarRepository calendarRepository)
 {
     _calendarRepository = calendarRepository ?? throw new ArgumentNullException(nameof(calendarRepository));
 }
 public CalendarPersistencePort(ICalendarRepository calendarRepository)
 {
     _calendarRepository = calendarRepository;
 }
Пример #22
0
 public GetResourcesCalendarQueryHandler(ICalendarRepository repo)
 {
     _repo = repo;
 }
Пример #23
0
 public CalendarMerger(ICalendarRepository calendarRepository)
 {
     _calendarRepository = calendarRepository;
 }
Пример #24
0
 public UserService(IUserRepository repository)
 {
     _repository = repository;
     _companyRepository = new CompanyRepository();
     _calendarRepository = new CalendarRepository();
     _productGroupRepository = new ProductGroupRepository();
     var productschedrapo = new ProductScheduleRepository();
     _repositoryschedule = new ProductScheduleService(productschedrapo);
 }
Пример #25
0
 public CalendarController(ICalendarRepository repository)
 {
     this.repository = repository;
 }
 public CalendarIdentityService(ICalendarRepository calendarRepository, ICalendarEntryRepository calendarEntryRepository)
 {
     this.calendarRepository = calendarRepository;
     this.calendarEntryRepository = calendarEntryRepository;
 }
Пример #27
0
 public SchedulingController(ICalendarRepository calendarRepository, IUserCalendarService userCalendar, IEventService eventService)
 {
     _calendarRepository = calendarRepository;
     _userCalendar       = userCalendar;
     _eventService       = eventService;
 }
Пример #28
0
 public BlockCalendarDatesCommandHandler(ICalendarRepository calendarRepository)
 {
     _calendarRepository = calendarRepository ?? throw new ArgumentNullException(nameof(calendarRepository));
 }
Пример #29
0
 public MenuViewComponent(ICalendarRepository calendarRepository)
 {
     _calendarRepository = calendarRepository;
 }
Пример #30
0
 public GetWorkersCalendarQueryHandler(ICalendarRepository repo)
 {
     _repo = repo;
 }
Пример #31
0
 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));
 }
Пример #32
0
 public WorkersSchedulesController(ICalendarRepository <WorkerScheduleRecord> workerScheduleRepository)
 {
     this.workerScheduleRepository = workerScheduleRepository;
 }
Пример #33
0
        public CalendarNotesViewModel(IMasterDetailNavigation navigationService, IMessagingService messagingService, ICalendarRepository repo)
        {
            _navigationService = navigationService;
            _messagingService  = messagingService;
            _repo = repo;

            Title = AppResources.CommentTitle;

            SaveCommand = new Command(async() => await OnSave());
        }
Пример #34
0
 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;
 }
Пример #37
0
 public CalendarController(ICalendarRepository repository, ILogger <CalendarController> logger)
 {
     _repository = repository ?? throw new ArgumentNullException(nameof(repository));
     _logger     = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Пример #38
0
 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");
 }
Пример #39
0
 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;
 }
Пример #40
0
 public GameService(ISessionService sessionService, IMapper mapper, IUserService userService, IGameRepository gameRepository, ICalendarRepository calendarRepository)
 {
     _sessionService     = sessionService;
     _mapper             = mapper;
     _userService        = userService;
     _gameRepository     = gameRepository;
     _calendarRepository = calendarRepository;
 }
Пример #41
0
 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();
 }
Пример #42
0
 public CalendarManager(ICalendarRepository calendarRepository)
 {
     m_CalendarRepository = calendarRepository;
 }
Пример #43
0
 public static void RegisterService(ICalendarRepository service)
 {
     _service = service;
 }
Пример #44
0
 public CalendarService(ICalendarRepository repo)
 {
     this.repository = repo;
 }
 public HomeController(ICalendarRepository calendarRepository)
 {
     this.calendarRepository = calendarRepository;
 }
 public CalendarService(IUserRepository userRepository, ICalendarRepository calendarRepository)
 {
     this.userRepository     = userRepository;
     this.calendarRepository = calendarRepository;
 }
Пример #47
0
 public CalendarDataController(AppDbContext appDbContext, IShoppingCartRepository sCart, IMapper mapper, ICalendarRepository calendarRepository)
 {
     _cartRepository     = sCart;
     _appDbContext       = appDbContext;
     _mapper             = mapper;
     _calendarRepository = calendarRepository;
 }