public ServiceState(IRepositoryState repositoryState, IUnitOfWork unitOfWork, INotifier notifier, IRepositoryCountry repositoryCountry) : base(notifier) { _repositoryState = repositoryState; _unitOfWork = unitOfWork; _repositoryCountry = repositoryCountry; }
public Repository(IRepository implementation, string name, string location, IRepositoryState internalState, IServiceProvider services) { _logger = LogHelper.GetLoggerWithIdentifier(this, name); _internalState = internalState; _services = services; _dispatcher = services.Get <IDispatcher>(); _eventManager = services.Get <IEventManager>(); Location = location; Implementation = implementation; Name = name; Identifier = internalState.Identifier; Load(); }
public Repository(IRepositoryState repositoryState, IFileProvider fileProvider) { _repositoryState = repositoryState; _fileProvider = fileProvider; }
public void Post([FromServices] IRepositoryState repositoryState) { repositoryState.CheckForUpdates().Subscribe(); }
public ManagementController(IRepositoryState repositoryState, IBranchSettings branchSettings) { this.repositoryState = repositoryState; this.branchSettings = branchSettings; }