public QuestionController(ILoggingService loggingService, IPagingService paggingService, IAreaService areaService, IIdentityService identityService, IQuestionService questionService, ITagService tagService, IPhotoService photoService) : base(loggingService, paggingService, identityService, photoService) { this._questionService = questionService; this._tagService = tagService; _areaService = areaService; }
public OrderService(IOrderRepository orderRepository, IUserRepository userRepository, IConfiguration configuration, IPagingService pagingService) { _orderRepository = orderRepository; _userRepository = userRepository; _configuration = configuration; _pagingService = pagingService; }
public UsersController( IPagingService pagingService, IUsersService usersService) { this.pagingService = pagingService; this.usersService = usersService; }
public SearchController(IPagingService pagingService, IConfigurationManagerWrapper configurationManagerWrapper) { _pagingService = pagingService; _configurationManagerWrapper = configurationManagerWrapper; _pageSize = _configurationManagerWrapper.AppSetting("PageSize").ToAInt(); }
public CategoriesController( ICategoriesService categoriesService, IPagingService pagingService) { this.categoriesService = categoriesService; this.pagingService = pagingService; }
public SearchController(IPagingService pagingService, IConfigurationManagerWrapper configurationManagerWrapper) { _pagingService = pagingService; _configurationManagerWrapper = configurationManagerWrapper; _pageSize = _configurationManagerWrapper.AppSettings.Value.PageSize; }
public TaskProviderService(IKeyValuePersistenceService keyValuePersistenceService, IPopulationService populationService, IPagingService <ILearner> learnerPerActorService, IFundingService <ILearner, FM35Global> fundingService, IJsonSerializationService jsonSerializationService) { _keyValuePersistenceService = keyValuePersistenceService; _populationService = populationService; _learnerPerActorService = learnerPerActorService; _fundingService = fundingService; _jsonSerializationService = jsonSerializationService; }
public LocationController(ILoggingService loggingService, IPagingService paggingService, IIdentityService identityService, ILocationService locationService, ISearchTreeService searchTreeService, ITagService tagService, IPhotoService photoService) : base(loggingService, paggingService, identityService, photoService) { this._locationService = locationService; this._tagService = tagService; this._searchTreeService = searchTreeService; }
public _BaseController(ILoggingService loggingService, IPagingService paggingService, IIdentityService identityService, IPhotoService photoService) { _loggingService = loggingService; _paggingService = paggingService; _identityService = identityService; _photoService = photoService; }
public SubCategoriesController( ISubCategoriesService subCategoriesService, IArticlesService articleService, IPagingService pagingService) { this.subCategoriesService = subCategoriesService; this.articleService = articleService; this.pagingService = pagingService; }
public SubCategoriesController( ISubCategoriesService subCategoriesService, IPagingService pagingService, ICategoriesService categoriesService) { this.subCategoriesService = subCategoriesService; this.pagingService = pagingService; this.categoriesService = categoriesService; }
public UsersController( IUsersService usersService, IArticlesService articlesService, IPagingService pagingService, UserManager <ApplicationUser> userManager) { this.usersService = usersService; this.articlesService = articlesService; this.pagingService = pagingService; this.userManager = userManager; }
public FhirResponse GetPage(string snapshotkey, int index) { IPagingService pagingExtension = this.FindExtension <IPagingService>(); if (pagingExtension == null) { throw new NotSupportedException("Operation not supported"); } return(responseFactory.GetFhirResponse(pagingExtension.StartPagination(snapshotkey).GetPage(index))); }
public ArticleController( IArticlesService articleService, ICategoriesService categoriesService, ISubCategoriesService subCategoriesService, IPagingService pagingService, UserManager <ApplicationUser> userManager) { this.articleService = articleService; this.categoriesService = categoriesService; this.subCategoriesService = subCategoriesService; this.pagingService = pagingService; this.userManager = userManager; }
/// <summary> /// Initializes a new instance of the <see cref="UserController"/> class. /// </summary> /// <param name="mediaRepository">The media repository.</param> /// <param name="pagingRepository">The paging repository.</param> /// <param name="pagingService">The paging service.</param> /// <param name="tagRepository">The tag repository.</param> /// <param name="tagService">The tag service.</param> /// <param name="persistentCollectionService">The persistent collection service.</param> public TagsController(IMediaRepository mediaRepository, IPagingRepository pagingRepository, IPagingService pagingService, ITagRepository tagRepository, ITagService tagService, IPersistentCollectionService persistentCollectionService) { _mediaRepository = mediaRepository; _persistentCollectionService = persistentCollectionService; _tagService = tagService; _tagRepository = tagRepository; _pagingRepository = pagingRepository; _pagingService = pagingService; }
public GroupController(ILoggingService loggingService, IPagingService paggingService, IIdentityService identityService, IGroupService groupService, IPlanService planService, IUserService userService, IPhotoService photoService, ILocationService locationService) : base(loggingService, paggingService, identityService, photoService) { client = new HttpClient(); client.BaseAddress = new Uri("https://exp.host"); client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json")); client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("gzip")); client.DefaultRequestHeaders.AcceptEncoding.Add(new StringWithQualityHeaderValue("deflate")); this._groupService = groupService; this._planService = planService; this._userService = userService; this._locationService = locationService; }
public PagingViewModel(IPagingService pagingService) { Argument.IsNotNull(() => pagingService); _pagingService = pagingService; Pager = new Pager(); MoveToPage = new Command <PagingItemInfo>(OnMoveToPageExecute, OnMoveToPageCanExecute); MoveToFirst = new Command(OnMoveToFirstExecute, OnMoveToFirstCanExecute); MoveBack = new Command(OnMoveBackExecute, OnMoveBackCanExecute); MoveForward = new Command(OnMoveForwardExecute, OnMoveForwardCanExecute); MoveToLast = new Command(OnMoveToLastExcute, OnMoveToLastCanExecute); }
public PagingViewModel(IPagingService pagingService) { Argument.IsNotNull(() => pagingService); _pagingService = pagingService; Pager = new Pager(); MoveToPage = new Command<PagingItemInfo>(OnMoveToPageExecute, OnMoveToPageCanExecute); MoveToFirst = new Command(OnMoveToFirstExecute, OnMoveToFirstCanExecute); MoveBack = new Command(OnMoveBackExecute, OnMoveBackCanExecute); MoveForward = new Command(OnMoveForwardExecute, OnMoveForwardCanExecute); MoveToLast = new Command(OnMoveToLastExcute, OnMoveToLastCanExecute); }
public void Generate(string domain, string htmlOutputPath, string angularCliSrcPath) { _domain = domain; _staticPageHtmlPath = "static-pages"; _htmlOutputPath = string.Format(@"{0}\{1}", htmlOutputPath, _staticPageHtmlPath); _angularCliSrcPath = angularCliSrcPath; _pagingService = new PagingService(); if (!Directory.Exists(_htmlOutputPath)) { Directory.CreateDirectory(_htmlOutputPath); } WriteHtml(); CopyAssets(); }
private FhirResponse CreateSnapshotResponse(Snapshot snapshot, int pageIndex = 0) { IPagingService pagingExtension = this.FindExtension <IPagingService>(); IResourceStorageService resourceStorage = this.FindExtension <IResourceStorageService>(); if (pagingExtension == null) { Bundle bundle = new Bundle() { Type = snapshot.Type, Total = snapshot.Count }; bundle.Append(resourceStorage.Get(snapshot.Keys)); return(responseFactory.GetFhirResponse(bundle)); } else { Bundle bundle = pagingExtension.StartPagination(snapshot).GetPage(pageIndex); return(responseFactory.GetFhirResponse(bundle)); } }
public AsyncFhirService( IResourceStorageService storageService, IPagingService pagingService, ISearchService searchService, ITransactionService transactionService, ICapabilityStatementService capabilityStatementService, IHistoryStore historyService, IFhirResponseFactory responseFactory, ICompositeServiceListener serviceListener, IPatchService patchService) { _storageService = storageService; _pagingService = pagingService; _searchService = searchService; _transactionService = transactionService; _capabilityStatementService = capabilityStatementService; _historyService = historyService; _responseFactory = responseFactory; _serviceListener = serviceListener; _patchService = patchService; }
public PreFundingSFOrchestrationService( IJsonSerializationService jsonSerializationService, IIlrFileProviderService ilrFileProviderService, IFundingServiceDto fundingServiceDto, IPopulationService populationService, IActorTask <IALBActor, ALBGlobal> albActorTask, IActorTask <IFM81Actor, FM81Global> fm81ActorTask, IActorTask <IFM70Actor, FM70Global> fm70ActorTask, IActorTask <IFM35Actor, FM35Global> fm35ActorTask, IActorTask <IFM36Actor, FM36Global> fm36ActorTask, IActorTask <IFM25Actor, FM25Global> fm25ActorTask, IKeyValuePersistenceService keyValuePersistenceService, IPagingService <ILearner> learnerPagingService, IExternalDataCache externalDataCache, IInternalDataCache internalDataCache, IFileDataCache fileDataCache, ITopicAndTaskSectionConfig topicAndTaskSectionConfig, ILogger logger) { _jsonSerializationService = jsonSerializationService; _ilrFileProviderService = ilrFileProviderService; _fundingServiceDto = fundingServiceDto; _populationService = populationService; _albActorTask = albActorTask; _fm81ActorTask = fm81ActorTask; _fm70ActorTask = fm70ActorTask; _fm35ActorTask = fm35ActorTask; _fm36ActorTask = fm36ActorTask; _fm25ActorTask = fm25ActorTask; _keyValuePersistenceService = keyValuePersistenceService; _externalDataCache = externalDataCache; _internalDataCache = internalDataCache; _fileDataCache = fileDataCache; _learnerPagingService = learnerPagingService; _topicAndTaskSectionConfig = topicAndTaskSectionConfig; _logger = logger; }
/// <summary> /// c'tor with Paramters /// Used in DI e.g. /// </summary> /// <param name="pagingService">Paging Service</param> public WebServiceFacade(IPagingService pagingService) { PagingService = pagingService; }
public ProductService(IMapper mapper, IUnitOfWork uow, IPagingService <ProductDTO> pagingService) { this.mapper = mapper; this.uow = uow; this.pagingService = pagingService; }
public BooksController(IEntityReader <Book> booksReader, IPagingService pagingService) { _booksReader = booksReader; _pagingService = pagingService; }
public CourseLibraryRepository(CourseLibraryContext context, IPagingService pagingService, IPropertyMappingService propertyMappingService) { _context = context ?? throw new ArgumentNullException(nameof(context)); _pagingService = pagingService; _propertyMappingService = propertyMappingService; }
public EmployeeController(IEmployeeService service, IPagingService pager, IEncryptionService encryptor, IUnitOfWork data) : base(data, encryptor) { this.service = service; this.pager = pager; }
public TagController(ILoggingService loggingService, IPagingService paggingService, IIdentityService identityService, ITagService tagService, IPhotoService photoService) : base(loggingService, paggingService, identityService, photoService) { this._tagService = tagService; }
public DepartmentController(IDepartmentService service, IPagingService pager) { this.service = service; this.pager = pager; }
public AreaController(ILoggingService loggingService, IPagingService paggingService, IIdentityService identityService, IAreaService areaService, IPhotoService photoService) : base(loggingService, paggingService, identityService, photoService) { this._areaService = areaService; }
public RefreshTokenController(ILoggingService loggingService, IPagingService paggingService, IIdentityService identityService, IPhotoService photoService) : base(loggingService, paggingService, identityService, photoService) { }
public UserController(ILoggingService loggingService, IPagingService paggingService, IIdentityService identityService, IUserService userService, IPlanService planService, IPhotoService photoService) : base(loggingService, paggingService, identityService, photoService) { this._userService = userService; this._planService = planService; }