public ContentInstaller(EventRaiser eventRaiser, IGameLocker gameLocker, IINstallerSessionFactory sessionFactory, IW6Api api) { _eventRaiser = eventRaiser; _sessionFactory = sessionFactory; _api = api; _gameLocker = gameLocker; _cleaner = new ContentCleaner(); }
public UploadFolderHandler(IDbContextLocator dbContextLocator, IFolderHandler folderHandler, IQueueManager queueManager, IRsyncLauncher rsyncLauncher, IW6Api api) : base(dbContextLocator) { _folderHandler = folderHandler; _queueManager = queueManager; _rsyncLauncher = rsyncLauncher; _api = api; }
public ApiContext(IApiLocalCache cache, IW6Api api) { _cache = cache; _api = api; }
private Task<List<GroupContent>> GetGroupContent(IW6Api api, CancellationToken ct) => api.GroupContent(Id, ct);
private Task<GroupAccess> GetGroupAccess(IW6Api api, CancellationToken ct) => api.GroupAccess(Id, ct);
public async Task Load(IW6Api api, CancellationToken ct) { Access = await GetGroupAccess(api, ct).ConfigureAwait(false); Content = await GetGroupContent(api, ct).ConfigureAwait(false); }
public NetworkContentSyncer(IDbContextLocator locator, IW6Api api) { _locator = locator; _collectionSyncer = new CollectionSyncer(locator, this, api); }
public CollectionSyncer(IDbContextLocator locator, NetworkContentSyncer networkContentSyncer, IW6Api api) { _locator = locator; _networkContentSyncer = networkContentSyncer; _api = api; }
private Task <List <GroupContent> > GetGroupContent(IW6Api api, CancellationToken ct) => api.GroupContent(Id, ct);
private Task <GroupAccess> GetGroupAccess(IW6Api api, CancellationToken ct) => api.GroupAccess(Id, ct);
public NetworkContentSyncer(ICollectionInfoFetcher infoFetcher, IW6Api api) { _infoFetcher = infoFetcher; _collectionSyncer = new CollectionSyncer(_infoFetcher, this, api); }
public CollectionSyncer(ICollectionInfoFetcher collectionInfoFetcher, INetworkContentSyncer syncer, IW6Api api) { _collectionInfoFetcher = collectionInfoFetcher; _syncer = syncer; _api = api; }