public ChocolateyLibDirHelper(IChocolateyService chocolateyService, IFileStorageService fileStorageService, ISettingsService settingsService) { _chocolateyService = chocolateyService; _fileStorageService = fileStorageService; _settingsService = settingsService; _chocolateyService.OutputChanged += VersionChangeFinished; }
public DeleteFileHandler(ILoggerFactory logFactory, IFileStorageService storageService) { log = logFactory?.CreateLogger(GetType().Name); StorageService = storageService; log?.LogDebug(".ctor"); }
public PackageManager(IAvailablePackagesService availablePackagesService, IPackageVersionService packageVersionService, IPackageService packageService, IFileStorageService fileStorageService, ICommandExecuter commandExecuter, ISettingsService settingsService, IInstalledPackagesService installedPackagesService) { _packageVersionService = packageVersionService; _packageService = packageService; _availablePackagesService = availablePackagesService; _fileStorageService = fileStorageService; _commandExecuter = commandExecuter; _settingsService = settingsService; _installedPackagesService = installedPackagesService; _packageVersionService.VersionChanged += VersionChangedHandler; _packageVersionService.RunStarted += PackageVersionServiceStarted; _availablePackagesService.RunFinshed += PackagesServiceRunFinished; _installedPackagesService.RunFinshed += PackagesServiceRunFinished; _packageService.RunFinshed += PackageServiceRunFinished; _packageService.RunStarted += PackageServiceRunStarted; _availablePackagesService.RunFailed += PackagesServiceRunFailed; _installedPackagesService.RunFailed += PackagesServiceRunFailed; _availablePackagesService.RunStarted += PackagesServiceRunStarted; _installedPackagesService.RunStarted += PackagesServiceRunStarted; InitializeComponent(); tabAvailable.ImageIndex = 0; tabInstalled.ImageIndex = 1; _installedPackagesService.ListOfDistinctHighestInstalledPackages(); }
public PackageFileService( IConfiguration configuration, IFileStorageService fileStorageSvc) { this.configuration = configuration; this.fileStorageSvc = fileStorageSvc; }
public StatusService( IEntitiesContext entities, IFileStorageService fileStorageService) { _entities = entities; _fileStorageService = fileStorageService; }
public NuGetExeDownloaderService( IPackageService packageSvc, IPackageFileService packageFileSvc, IFileStorageService fileStorageSvc) { this.packageSvc = packageSvc; this.packageFileSvc = packageFileSvc; this.fileStorageSvc = fileStorageSvc; }
public NuGetExeDownloaderService( IPackageService packageService, IPackageFileService packageFileService, IFileStorageService fileStorageService) { _packageService = packageService; _packageFileService = packageFileService; _fileStorageService = fileStorageService; }
/// <summary> /// </summary> /// <param name="context"></param> /// <param name="fileStorageService"></param> public DocumentsApi(ApiContext context, IFileStorageService fileStorageService) { _context = context; _fileStorageService = fileStorageService; if (!FilesIntegration.IsRegisteredFileSecurityProvider("crm", "crm_common")) { FilesIntegration.RegisterFileSecurityProvider("crm", "crm_common", new FileSecurityProvider()); } }
public StatusService( IEntitiesContext entities, IFileStorageService fileStorageService, IAppConfiguration config) { _entities = entities; _fileStorageService = fileStorageService; _config = config; }
public ProfileController(IUserService userService, IOnlineUserService onlineUserService, IFileStorageService fileStorageService, IHubContext <IProfileHubClient> hubContext) { _userService = userService; _onlineUserService = onlineUserService; _fileStorageService = fileStorageService; _hubContext = hubContext; }
public PeopleController(ApplicationDbContext context, ILogger <GenresController> logger, IFileStorageService fileStorageService, IMapper mapper) { this.context = context; this.logger = logger; this.fileStorageService = fileStorageService; this.mapper = mapper; }
public UpdateDraftApplicationUseCase(IDraftApplicationRepository draftApplicationRepository, IFileStorageService fileStorageService, IOutputPort outputPort, IValidator <UpdateDraftApplicationInput> validator) { this._draftApplicationRepository = draftApplicationRepository; this._outputPort = outputPort; this._updateAttachments = new UpdateAttachments(fileStorageService); this._validator = validator; }
public PeopleController(IRepository repository, ILogger <GenresController> logger, IMapper mapper, IFileStorageService fileStorageService) { this.repository = repository; this.logger = logger; this.mapper = mapper; this.fileStorageService = fileStorageService; }
public MoviesController(ApplicationDbContext context, IMapper mapper, IFileStorageService fileStorageService, ILogger <MoviesController> logger) { _context = context; _mapper = mapper; _fileStorageService = fileStorageService; _logger = logger; }
public NotifyChangeFunction(IFileStorageService fileStorageService, IQueueService queueService, IReleasePublishingStatusService releasePublishingStatusService, IValidationService validationService) { _fileStorageService = fileStorageService; _queueService = queueService; _releasePublishingStatusService = releasePublishingStatusService; _validationService = validationService; }
public LabController(ApplicationDbContext dbContext, IOrderService orderService, ILabworksService labworksService, IOrderMessageService orderMessageService, IFileStorageService fileStorageService, ISlothService slothService, IFinancialService financialService) { _dbContext = dbContext; _orderService = orderService; _labworksService = labworksService; _orderMessageService = orderMessageService; _fileStorageService = fileStorageService; _slothService = slothService; _financialService = financialService; }
public MusicianController(IMusicInstrumentService instrumentService, IOrderService orderService, IMapper mapper, IApplicationUserService applicationUserService, IFileStorageService fileStorageService, IMusicianService musicianService) { s_logger = LogManager.GetCurrentClassLogger(); _musicInstrumentService = instrumentService; _orderService = orderService; _mapper = mapper; _applicationUserService = applicationUserService; _fileStorageService = fileStorageService; _musicianService = musicianService; }
public WorkoutDataFileRepository( ApplicationDbContext context, IConfiguration configuration, IFileStorageService fileStorageService ) { _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _context = context ?? throw new ArgumentNullException(nameof(configuration)); _fileStorageService = fileStorageService ?? throw new ArgumentNullException(nameof(fileStorageService)); }
public SplitFileService( IFileStorageService fileStorageService, ILogger <ISplitFileService> logger, IImportStatusService importStatusService ) { _fileStorageService = fileStorageService; _logger = logger; _importStatusService = importStatusService; }
public MoviesRepository(ApplicationDbContext context, IAuthenticationStateService authenticationStateService, IFileStorageService fileStorageService, IMapper mapper) { this.context = context; this.authenticationStateService = authenticationStateService; this.fileStorageService = fileStorageService; this.mapper = mapper; }
public MoviesController(ApplicationDbContext context, IMapper mapper, IFileStorageService fileStorageService, ILogger <MoviesController> logger) : base(context, mapper) { this.context = context; this.mapper = mapper; this.fileStorageService = fileStorageService; this.logger = logger; }
public ServicesManager(IPushNotificationService pushNotification, IEmailService emailService, ITicketService ticketService, IPropertyDataImporter propertyDataImporter, IFileStorageService fileStorageService) { _pushNotification = pushNotification; _emailService = emailService; _ticketService = ticketService; _propertyDataImporter = propertyDataImporter; _fileStorageService = fileStorageService; }
public MoviesController(ApplicationDbContext context, IMoviesRepository moviesRepository, IFileStorageService fileStorageService, IMapper mapper, UserManager <IdentityUser> userManager) { _context = context; _moviesRepository = moviesRepository; _fileStorageService = fileStorageService; _mapper = mapper; _userManager = userManager; }
public MoviesController(ApplicationDbContext context, IFileStorageService fileStorageService, IMapper mapper, UserManager <IdentityUser> userManager) { this.context = context; this.fileStorageService = fileStorageService; this.mapper = mapper; this.userManager = userManager; }
public PeopleService(AppDbContext dbContext, IMapper mapper, IFileStorageService fileStorageService, ILoggerService logger) : base(dbContext) { _dbContext = dbContext; _mapper = mapper; _fileStorageService = fileStorageService; _logger = logger; }
public ImageStorageService(IFileStorageService storageService, Instructions defaultInstructions, Instructions mandatoryInstructions, Instructions defaultThumbnailInstructions, Instructions mandatoryThumbnailInstructions, string paramsPrefix = "thmb-") { this.storageService = storageService; this.defaultInstructions = defaultInstructions; this.mandatoryInstructions = mandatoryInstructions; this.defaultThumbnailInstructions = defaultThumbnailInstructions; this.mandatoryThumbnailInstructions = mandatoryThumbnailInstructions; this.paramsPrefix = paramsPrefix; }
public PersonService( AppDBContext context , IMapper mapper , IFileStorageService fileStorageService , IHttpContextAccessor httpContext) { _context = context; _mapper = mapper; _fileStorageService = fileStorageService; _httpContext = httpContext; }
public PicturesController(IRepository <Category> categoryRepository, IWebHostEnvironment env, IHttpContextAccessor httpContextAccessor, IRepository <Product> productRepository, IRepository <Picture> pictureRepository, IFileStorageService fileService, IRepository <Country> countryRepository, IRepository <Store> storeRepository) { _categoryRepository = categoryRepository; this.env = env; this.httpContextAccessor = httpContextAccessor; _productRepository = productRepository; _pictureRepository = pictureRepository; _fileService = fileService; _countryRepository = countryRepository; _storeRepository = storeRepository; }
public ValidatorService( ILogger <IValidatorService> logger, IFileStorageService fileStorageService, IFileTypeService fileTypeService, IImportStatusService importStatusService) { _logger = logger; _fileStorageService = fileStorageService; _fileTypeService = fileTypeService; _importStatusService = importStatusService; }
/// <summary> /// Initialize Instance. /// </summary> /// <param name="expenseService"></param> /// <param name="fileStorageService"></param> /// <param name="dateTimeService"></param> /// <param name="mediaService"></param> public EditExpense( IExpenseService expenseService, IFileStorageService fileStorageService, IDateTimeService dateTimeService, IMediaService mediaService) { _expenseService = expenseService; _fileStorageService = fileStorageService; _dateTimeService = dateTimeService; _mediaService = mediaService; }
public TodoItemsController(UserManager <ApplicationUser> userManager, ITodoItemService todoService, IFileStorageService fileStorageService, IMapper mapper, ILogger <TodoItemsController> logger) { _userManager = userManager; _todoService = todoService; _fileStorageService = fileStorageService; _mapper = mapper; _logger = logger; }
public AdvertisementService( ApplicationContext dbContext, IFileStorageService fileStorageService, IStringLocalizer localizer, IOptions<AdvertisementEnvironmentDecisionOptions> options ) { _dbContext = dbContext; _fileStorageService = fileStorageService; _localizer = localizer; _advertisementEnvironmentDecisionOptions = options.Value; }
public TestimonialController(ApplicationContext context, ILogger <TestimonialController> logger, IFileStorageService fileStorageService, IConfiguration configuration, IWebHostEnvironment env) { _fileStorageService = fileStorageService; _env = env; _logger = logger; _configuration = configuration; _context = context; }
public ProductController(IProductRepository repository, ICategoryRepository categoryRepository, IFileStorageService azureStorage, IMapper mapper, BlazorShopContext context) { _context = context; _azureStorage = azureStorage; _mapper = mapper; _repository = repository; _categoryRepository = categoryRepository; }
public CreateDraftApplicationUseCase(ICurrentUserContext userContext, IFileStorageService fileStorageService, IDraftApplicationRepository draftApplicationRepository, IOutputPort outputPort, IValidator <CreateDraftApplicationInput> validator) { this._draftApplicationRepository = draftApplicationRepository; this._fileStorageService = fileStorageService; this._outputPort = outputPort; this._attachmentsFactory = new AttachmentsFactory(); this._draftApplicationFactory = new DraftApplicationFactory(userContext); this._validator = validator; }
public ImportCommission( ICommissionImportService commissionImportService, ICommissionStatementService commissionStatementService, ICommissionStatementTemplateService commissionStatementTemplateService, IFileStorageService fileStorageService, IDirectoryLookupService directoryLookupService) { CommissionImportService = commissionImportService; CommissionStatementService = commissionStatementService; CommissionStatementTemplateService = commissionStatementTemplateService; FileStorageService = fileStorageService; DirectoryLookupService = directoryLookupService; }
public AccountancyExportDataProvider(CrmContext context, IMapper mapper, IOptions <AccountancyConfiguration> accountancyConfiguration, IFileStorageService fileStorageService, ILogger <AccountancyExportDataProvider> logger) { _context = context; _mapper = mapper; _accountancyConfig = accountancyConfiguration.Value; _fileStorageService = fileStorageService; _logger = logger; _accountancyConfig.WinbooksExportLocation = _fileStorageService.EnsureDirectory(_accountancyConfig.WinbooksExportLocation); }
public AdventuresController ( ApplicationDBContext context, IFileStorageService fileStorageService, IMapper mapper, IAuthorizationService authorizationService ) { this.context = context; this.fileStorageService = fileStorageService; this.mapper = mapper; this._authorizationService = authorizationService; }
public NuspecStore( IFileStorageService fileStorageService, ServiceIndexCache serviceIndexCache, FlatContainerClient flatContainerClient, HttpSource httpSource, ILogger <NuspecStore> logger) { _fileStorageService = fileStorageService; _serviceIndexCache = serviceIndexCache; _flatContainerClient = flatContainerClient; _httpSource = httpSource; _logger = logger; }
public RoatpClarificationController(ILogger <RoatpClarificationController> logger, IMediator mediator, IAssessorSequenceService assessorSequenceService, IAssessorPageService assessorPageService, IAssessorSectorService assessorSectorService, IAssessorSectorDetailsService assessorSectorDetailsService, IFileStorageService fileStorageService) { _logger = logger; _mediator = mediator; _sequenceService = assessorSequenceService; _pageService = assessorPageService; _sectorService = assessorSectorService; _sectorDetailsService = assessorSectorDetailsService; _fileStorageService = fileStorageService; }
public MainPageViewModel(IFileStorageService fileStorageService, IGoogleAnalytics analytics) { this.fileStorageService = fileStorageService; this.analytics = analytics; Items = new ObservableCollection<ItemViewModel>(); if (!IsDataLoaded) { LoadData(); IsDataLoaded = true; } visioClient = new VisioClient(this.fileStorageService); }
/// <summary> /// </summary> /// <param name="context"></param> /// <param name="fileStorageService"></param> public DocumentsApi(ApiContext context, IFileStorageService fileStorageService) { _context = context; _fileStorageService = fileStorageService; //TODO: Why not to move this code to DAO??? if (!DbRegistry.IsDatabaseRegistered(FileConstant.DatabaseId)) { DbRegistry.RegisterDatabase(FileConstant.DatabaseId, WebConfigurationManager.ConnectionStrings[FileConstant.DatabaseId]); } if (!FilesIntegration.IsRegisteredFileSecurityProvider("crm", "crm_common")) FilesIntegration.RegisterFileSecurityProvider("crm", "crm_common", new FileSecurityProvider()); }
public ContentService(IFileStorageService fileStorage, IDiagnosticsService diagnosticsService) { if (fileStorage == null) { throw new ArgumentNullException("fileStorage"); } if (diagnosticsService == null) { throw new ArgumentNullException("diagnosticsService"); } FileStorage = fileStorage; Trace = diagnosticsService.GetSource("ContentService"); }
public PackageManager(IPackagesService packagesService, IPackageVersionService packageVersionService, IPackageService packageService, IFileStorageService fileStorageService) { InitializeComponent(); _packageService = packageService; _packagesService = packagesService; _packageVersionService = packageVersionService; _fileStorageService = fileStorageService; _packageVersionService.VersionChanged += VersionChangedHandler; _packagesService.RunFinshed += PackagesServiceRunFinished; _packageService.LineChanged += PackageServiceLineChanged; _packageService.RunFinshed += PackageServiceRunFinished; ClearStatus(); PackageGrid.Focus(); UpdateInstallUninstallButtonLabel(); QueryInstalledPackages(); }
public WorldRepository(IFileStorageService storageService, ITimeOfDayStateRepository timeOfDayRepository) { this.storageService = storageService; this.timeOfDayStateRepository = timeOfDayRepository; }
public UploadFileService(IFileStorageService fileStorageService) { _fileStorageService = fileStorageService; }
public PackageFileService( IFileStorageService fileStorageSvc) { this.fileStorageSvc = fileStorageSvc; }
private void InjectSetupForPackageManager(IFileStorageService fileStorageService) { ObjectFactory.Inject<IFileStorageService>(fileStorageService); ObjectFactory.Inject<IPackagesService>(MockRepository.GenerateMock<IPackagesService>()); ObjectFactory.Inject<IPackageVersionService>(MockRepository.GenerateMock<IPackageVersionService>()); ObjectFactory.Inject<IPackageService>(MockRepository.GenerateMock<IPackageService>()); }
public ResourcesController(IFileStorageService fileStorageService) { this.fileStorageService = fileStorageService; }
public ImageDetailsController(IFileStorageService fileStorageService) { FileStorageService = fileStorageService; }
public PackageFileService(IFileStorageService fileStorageService) { _fileStorageService = fileStorageService; }
public ImageUploaderService(IFileStorageService fileStorageService, IImageRepository imageRepository) { this.fileStorageService = fileStorageService; this.imageRepository = imageRepository; }
/// <summary> /// ctor /// </summary> public SettingsService() { _fileStorageService = new FileStorageService<Settings>(); }
public SourceService(IFileStorageService fileStorageService) { _fileStorageService = fileStorageService; Initialize(); }
public VisioClient(IFileStorageService fileStorage) { client = new HttpClient(); this.fileStorage = fileStorage; }
public SecurityRoleRepository(IFileStorageService storageService) { this.fileService = storageService; }
public TimeOfDayStateRepository(IFileStorageService fileStorageService) { this.storageService = fileStorageService; }
public NuGetExeDownloaderService( IFileStorageService fileStorageService) { _fileStorageService = fileStorageService; }
public void Setup() { _chocolateyService = MockRepository.GenerateMock<IChocolateyService>(); _fileStorageService = MockRepository.GenerateMock<IFileStorageService>(); _settingsService = MockRepository.GenerateMock<ISettingsService>(); _settingsService.Stub(ssS => ssS.ChocolateyLibDirectory).Return(""); _helper = new ChocolateyLibDirHelper(_chocolateyService, _fileStorageService, _settingsService); }