public PackagesController( IPackageService packageService, IUploadFileService uploadFileService, IMessageService messageService, ISearchService searchService, IAutomaticallyCuratePackageCommand autoCuratedPackageCmd, IPackageFileService packageFileService, IEntitiesContext entitiesContext, IAppConfiguration config, IIndexingService indexingService, ICacheService cacheService, EditPackageService editPackageService, IPackageDeleteService packageDeleteService, ISupportRequestService supportRequestService, AuditingService auditingService) { _packageService = packageService; _uploadFileService = uploadFileService; _messageService = messageService; _searchService = searchService; _autoCuratedPackageCmd = autoCuratedPackageCmd; _packageFileService = packageFileService; _entitiesContext = entitiesContext; _config = config; _indexingService = indexingService; _cacheService = cacheService; _editPackageService = editPackageService; _packageDeleteService = packageDeleteService; _supportRequestService = supportRequestService; _auditingService = auditingService; }
public EditPackageService( IEntitiesContext entitiesContext, IPackageNamingConflictValidator packageNamingConflictValidator) { EntitiesContext = entitiesContext; PackageNamingConflictValidator = packageNamingConflictValidator; }
public CuratedPackagesController( ICuratedFeedService curatedFeedService, IEntitiesContext entitiesContext) { this.CuratedFeedService = curatedFeedService; this.EntitiesContext = entitiesContext; }
public ApiController( IEntitiesContext entitiesContext, IPackageService packageService, IPackageFileService packageFileService, IUserService userService, INuGetExeDownloaderService nugetExeDownloaderService, IContentService contentService, IIndexingService indexingService, ISearchService searchService, IAutomaticallyCuratePackageCommand autoCuratePackage, IStatusService statusService, IAppConfiguration config) { EntitiesContext = entitiesContext; PackageService = packageService; PackageFileService = packageFileService; UserService = userService; NugetExeDownloaderService = nugetExeDownloaderService; ContentService = contentService; StatisticsService = null; IndexingService = indexingService; SearchService = searchService; AutoCuratePackage = autoCuratePackage; StatusService = statusService; _config = config; }
public PackagesController( IPackageService packageService, IUploadFileService uploadFileService, IUserService userService, IMessageService messageService, ISearchService searchService, IAutomaticallyCuratePackageCommand autoCuratedPackageCmd, INuGetExeDownloaderService nugetExeDownloaderService, IPackageFileService packageFileService, IEntitiesContext entitiesContext, IAppConfiguration config, IIndexingService indexingService, ICacheService cacheService) { _packageService = packageService; _uploadFileService = uploadFileService; _userService = userService; _messageService = messageService; _searchService = searchService; _autoCuratedPackageCmd = autoCuratedPackageCmd; _nugetExeDownloaderService = nugetExeDownloaderService; _packageFileService = packageFileService; _entitiesContext = entitiesContext; _config = config; _indexingService = indexingService; _cacheService = cacheService; }
public StatusService( IEntitiesContext entities, IFileStorageService fileStorageService) { _entities = entities; _fileStorageService = fileStorageService; }
public UnitOfWork( IEntitiesContext context ) { if (context == null) throw new ArgumentNullException("context"); _context = context; }
public StatusService( IEntitiesContext entities, IFileStorageService fileStorageService, IAppConfiguration config) { _entities = entities; _fileStorageService = fileStorageService; _config = config; }
public CuratedPackagesController( ICuratedFeedService curatedFeedService, IEntitiesContext entitiesContext, IAutomaticallyCuratePackageCommand autoCuratedPackageCmd) { this.CuratedFeedService = curatedFeedService; this.EntitiesContext = entitiesContext; this.AutoCuratedPackageCmd = autoCuratedPackageCmd; }
public ReflowPackageService( IEntitiesContext entitiesContext, IPackageService packageService, IPackageFileService packageFileService) { _entitiesContext = entitiesContext; _packageService = packageService; _packageFileService = packageFileService; }
public AuthenticationService( IEntitiesContext entities, IAppConfiguration config, IDiagnosticsService diagnostics, AuditingService auditing, IEnumerable<Authenticator> providers, ICredentialBuilder credentialBuilder, ICredentialValidator credentialValidator, IDateTimeProvider dateTimeProvider) { if (entities == null) { throw new ArgumentNullException(nameof(entities)); } if (config == null) { throw new ArgumentNullException(nameof(config)); } if (diagnostics == null) { throw new ArgumentNullException(nameof(diagnostics)); } if (auditing == null) { throw new ArgumentNullException(nameof(auditing)); } if (providers == null) { throw new ArgumentNullException(nameof(providers)); } if (credentialBuilder == null) { throw new ArgumentNullException(nameof(credentialBuilder)); } if (credentialValidator == null) { throw new ArgumentNullException(nameof(credentialValidator)); } if (dateTimeProvider == null) { throw new ArgumentNullException(nameof(dateTimeProvider)); } InitCredentialFormatters(); Entities = entities; _config = config; Auditing = auditing; _trace = diagnostics.SafeGetSource("AuthenticationService"); Authenticators = providers.ToDictionary(p => p.Name, StringComparer.OrdinalIgnoreCase); _credentialBuilder = credentialBuilder; _credentialValidator = credentialValidator; _dateTimeProvider = dateTimeProvider; }
public ODataV2CuratedFeedController( IEntitiesContext entities, IGalleryConfigurationService configurationService, ISearchService searchService, ICuratedFeedService curatedFeedService) : base(configurationService) { _entities = entities; _configurationService = configurationService; _searchService = searchService; _curatedFeedService = curatedFeedService; }
public ApiController( IEntitiesContext entitiesContext, IPackageService packageService, IPackageFileService packageFileService, IUserService userService, INuGetExeDownloaderService nugetExeDownloaderService, IContentService contentService, IIndexingService indexingService, IStatisticsService statisticsService) : this(entitiesContext, packageService, packageFileService, userService, nugetExeDownloaderService, contentService, indexingService) { StatisticsService = statisticsService; }
public HMUnitOfWork(IEntitiesContext dbContext) { _dbContext = dbContext; _employeeRepository = new EntityRepository<Employee>(dbContext); _holidayInformationRepository = new EntityRepository<HolidayInformation>(dbContext); _holidayPeriodRepository = new EntityRepository<HolidayPeriod>(dbContext); _legalHolidayRepository = new EntityRepository<LegalHoliday>(dbContext); _purposeRepository = new EntityRepository<Purpose>(dbContext); _requestRepository = new EntityRepository<Request>(dbContext); _roleRepository = new EntityRepository<Role>(dbContext); _teamRepository = new EntityRepository<Team>(dbContext); }
public ProjectsController( IProjectService projectService, IMessageService messageService, IEntitiesContext entitiesContext, IAppConfiguration config, ICacheService cacheService) { _projectService = projectService; _messageService = messageService; _entitiesContext = entitiesContext; _config = config; _cacheService = cacheService; }
public AuthenticationService(IEntitiesContext entities, IAppConfiguration config, IDiagnosticsService diagnostics, AuditingService auditing, IEnumerable<Authenticator> providers) { _credentialFormatters = new Dictionary<string, Func<string, string>>(StringComparer.OrdinalIgnoreCase) { { "password", _ => Strings.CredentialType_Password }, { "apikey", _ => Strings.CredentialType_ApiKey }, { "external", FormatExternalCredentialType } }; Entities = entities; Config = config; Auditing = auditing; Trace = diagnostics.SafeGetSource("AuthenticationService"); Authenticators = providers.ToDictionary(p => p.Name, StringComparer.OrdinalIgnoreCase); }
public ApiController( IEntitiesContext entitiesContext, IPackageService packageService, IPackageFileService packageFileService, IUserService userService, INuGetExeDownloaderService nugetExeDownloaderService, IContentService contentService, IIndexingService indexingService, ISearchService searchService, IAutomaticallyCuratePackageCommand autoCuratePackage, IStatisticsService statisticsService) : this(entitiesContext, packageService, packageFileService, userService, nugetExeDownloaderService, contentService, indexingService, searchService, autoCuratePackage) { StatisticsService = statisticsService; }
public PackageDeleteService( IEntityRepository<Package> packageRepository, IEntityRepository<PackageDelete> packageDeletesRepository, IEntitiesContext entitiesContext, IPackageService packageService, IIndexingService indexingService, IPackageFileService packageFileService, AuditingService auditingService) { _packageRepository = packageRepository; _packageDeletesRepository = packageDeletesRepository; _entitiesContext = entitiesContext; _packageService = packageService; _indexingService = indexingService; _packageFileService = packageFileService; _auditingService = auditingService; }
public ApiController( IEntitiesContext entitiesContext, IPackageService packageService, IPackageFileService packageFileService, IUserService userService, INuGetExeDownloaderService nugetExeDownloaderService, IContentService contentService, IIndexingService indexingService) { EntitiesContext = entitiesContext; PackageService = packageService; PackageFileService = packageFileService; UserService = userService; NugetExeDownloaderService = nugetExeDownloaderService; ContentService = contentService; StatisticsService = null; IndexingService = indexingService; }
public AutomaticallyCuratePackageCommand(IEntitiesContext entities) : base(entities) { }
public CuratedFeedByKeyQuery(IEntitiesContext entities) { _entities = entities; }
public ProductRepository(IEntitiesContext context) : base(context) { }
public void Constructor_ThrowsArgumentNullIfArgumentMissing( IEntitiesContext entities, IAuditingService auditing, IDiagnosticsService diagnostics, IAppConfiguration configuration) { Assert.Throws <ArgumentNullException>(() => new SecurityPolicyService(entities, auditing, diagnostics, configuration)); }
public PackageVersionsQuery(IEntitiesContext entities) { _entities = entities; }
public PackageRegistrationByKeyQuery(IEntitiesContext entities) { _entities = entities; }
public AutoCompleteDatabasePackageVersionsQuery(IEntitiesContext entities) : base(entities) { }
public UnitOfWork(IEntitiesContext context) { _repositories = new Dictionary <Type, object>(); _disposed = false; _context = context; }
public DeleteCuratedPackageCommand(IEntitiesContext entities) : base(entities) { }
public LuceneIndexingService(IEntitiesContext entitiesContext) { _entitiesContext = (DbContext)entitiesContext; }
public static void VerifyCommitChanges(this IEntitiesContext self) { FakeEntitiesContext context = Assert.IsAssignableFrom <FakeEntitiesContext>(self); context.VerifyCommitChanges(); }
public AutomaticallyCuratePackageCommand(IEnumerable<IAutomaticPackageCurator> curators, IEntitiesContext entities) : base(entities) { _curators = curators.ToList(); }
public iTemoUnitOfWork(IEntitiesContext context) { _context = context; }
public UserByUsernameQuery(IEntitiesContext entities) { _entities = entities; }
public CuratedFeedByNameQuery(IEntitiesContext entities) { _entities = entities; }
public PackageRegistrationByIdQuery(IEntitiesContext entities) { _entities = entities; }
public TestPackageDeleteService(IEntityRepository<Package> packageRepository, IEntityRepository<PackageDelete> packageDeletesRepository, IEntitiesContext entitiesContext, IPackageService packageService, IIndexingService indexingService, IPackageFileService packageFileService, AuditingService auditingService) : base(packageRepository, packageDeletesRepository, entitiesContext, packageService, indexingService, packageFileService, auditingService) { }
public V2CuratedFeed(IEntitiesContext entities, IEntityRepository<Package> repo, IConfiguration configuration, ISearchService searchSvc) : base(entities, repo, configuration, searchSvc) { }
public ModifyCuratedPackageCommand(IEntitiesContext entities) : base(entities) { }
public EntityRepository(IEntitiesContext context) { _context = context; _dbEntitySet = _context.Set <TEntity>(); }