/// <summary> /// 测试初始化 /// </summary> public RepositoriesServiceTest() { _scope = Ioc.BeginScope(); _repositoriesRepository = _scope.Create <IRepositoriesRepository>(); _repositoriesService = _scope.Create <IRepositoriesService>(); _repositoriesDto = RepositoriesDtoTest.Create(); }
public PackagesController( IPackagesService packages, IDistributionsService distros, IRepositoriesService repositories, IArchitecturesService architectures, ILicensesService licenses) { this.packages = packages; this.distros = distros; this.repositories = repositories; this.architectures = architectures; this.licenses = licenses; }
public PackagesController( IPackagesService packages, IArchitecturesService architectures, ILicensesService licenses, IRepositoriesService repositories, IDistributionsService distros, IScreenshotsService screenshots, IDependenciesService dependencies) { this.packages = packages; this.architectures = architectures; this.licenses = licenses; this.repositories = repositories; this.distros = distros; this.screenshots = screenshots; this.dependencies = dependencies; }
public ApiRepositoryController(ILogFactory logFactory, IUserActionHistoryRepository userActionHistoryRepository, IRepositoriesRepository repositoriesRepository, IRepositoryDataRepository repositoryDataRepository, IKeyValuesRepository keyValuesRepository, IKeyValueHistoryRepository keyValueHistoryRepository, IRepositoriesUpdateHistoryRepository repositoriesUpdateHistoryRepository, IConnectionUrlHistoryRepository connectionUrlHistoryRepository, INetworkRepository networkRepository, IServiceTokenRepository serviceTokensRepository, AppSettings appSettings, IRepositoriesService repositoriesService) : base(userActionHistoryRepository) { _appSettings = appSettings; _log = logFactory.CreateLog(this); _repositoriesRepository = repositoriesRepository; _repositoryDataRepository = repositoryDataRepository; _keyValuesRepository = keyValuesRepository; _keyValueHistoryRepository = keyValueHistoryRepository; _repositoriesUpdateHistoryRepository = repositoriesUpdateHistoryRepository; _connectionUrlHistoryRepository = connectionUrlHistoryRepository; _networkRepository = networkRepository; _serviceTokensRepository = serviceTokensRepository; _repositoriesService = repositoriesService; }
public ApiRepositoryController( ILogFactory logFactory, IUserActionHistoryRepository userActionHistoryRepository, IRepositoriesRepository repositoriesRepository, IRepositoryDataRepository repositoryDataRepository, IKeyValuesRepository keyValuesRepository, IConnectionUrlHistoryRepository connectionUrlHistoryRepository, INetworkRepository networkRepository, IServiceTokenRepository serviceTokensRepository, IRepositoriesService repositoriesService) : base(userActionHistoryRepository, logFactory) { _repositoriesRepository = repositoriesRepository; _repositoryDataRepository = repositoryDataRepository; _keyValuesRepository = keyValuesRepository; _connectionUrlHistoryRepository = connectionUrlHistoryRepository; _networkRepository = networkRepository; _serviceTokensRepository = serviceTokensRepository; _repositoriesService = repositoriesService; }
public RepositoriesController(IRepositoriesService repositoriesService) { this.repositoriesService = repositoriesService; }
public CommitsController(ICommitsService commitsService, IRepositoriesService repositoriesService) { this.commitsService = commitsService; this.repositoriesService = repositoriesService; }
/// <summary> /// 初始化仓库表控制器 /// </summary> /// <param name="service">仓库表服务</param> public RepositoriesController(IRepositoriesService service) : base(service) { RepositoriesService = service; }
public RepositoriesController(IRepositoriesService service) { this.service = service; }
public RepositoriesController(IRepositoriesService repositoriesService, IUsersService usersService) { this.repositoriesService = repositoriesService; this.usersService = usersService; }