C# Класс withSIX.Mini.Infra.Data.Services.NetworkContentSyncer.CollectionSyncer

Показать файл Открыть проект

Открытые методы

Метод Описание
CollectionSyncer ( IDbContextLocator locator, NetworkContentSyncer networkContentSyncer, IW6Api api ) : System
DownloadCollections ( IEnumerable gamesWithCollections ) : Task>
GetCollections ( System.Guid gameId, IReadOnlyCollection collectionIds ) : Task>
SyncCollections ( IReadOnlyCollection collections, bool countCheck = true ) : Task

Приватные методы

Метод Описание
BuildDependencyTree ( Game game, List dependencies, SixRepoModDto>.KeyValuePair repoContent, IReadOnlyCollection customRepos ) : Task
ConvertToContentOrLocal ( CollectionVersionDependencyModel x, IHaveGameId col, Game game ) : Content
ConvertToGroupOrRepoContent ( CollectionVersionDependencyModel x, Collection col, IReadOnlyCollection customRepos, IEnumerable groupContent, Game game ) : Task
GetContentSpec ( List collections, CollectionVersionDependencyModel todoCols, CollectionVersionDependencyModel ec, IEnumerable cols, CancellationToken ct ) : Task
GetDependencyTree ( SixRepoModDto>.KeyValuePair repoContent, IReadOnlyCollection customRepos, Game game ) : Task>
GetGroupContent ( Content col ) : Task>
GetRepositories ( IHaveRepositories col ) : Task
GetUserId ( ) : Task
HandleContent ( NetworkCollection col, CollectionModelWithLatestVersion c, CancellationToken ct, List collections = null ) : Task
HandleRepoContent ( CollectionVersionDependencyModel x, Collection col, IReadOnlyCollection customRepos, Game game ) : Task
MapCollection ( CollectionModelWithLatestVersion rc, CancellationToken ct, List collections = null ) : Task
MapExistingCollection ( CollectionModelWithLatestVersion rc, SubscribedCollection collection, CancellationToken ct ) : Task
ProcessEmbeddedCollection ( IEnumerable cols, CollectionVersionDependencyModel ec, List collections, CancellationToken ct ) : Task
ProcessEmbeddedCollections ( CollectionModelWithLatestVersion c, List collections, CancellationToken ct ) : Task>
ProcessMods ( NetworkCollection col, CollectionModelWithLatestVersion c, Game game ) : Task>
RetrieveCollections ( System.Guid gameId, IEnumerable colIds, CancellationToken ct ) : Task>
SynchronizeContent ( Game game, IEnumerable packageNames ) : Task

Описание методов

CollectionSyncer() публичный Метод

public CollectionSyncer ( IDbContextLocator locator, NetworkContentSyncer networkContentSyncer, IW6Api api ) : System
locator IDbContextLocator
networkContentSyncer NetworkContentSyncer
api IW6Api
Результат System

DownloadCollections() публичный Метод

public DownloadCollections ( IEnumerable gamesWithCollections ) : Task>
gamesWithCollections IEnumerable
Результат Task>

GetCollections() публичный Метод

public GetCollections ( System.Guid gameId, IReadOnlyCollection collectionIds ) : Task>
gameId System.Guid
collectionIds IReadOnlyCollection
Результат Task>

SyncCollections() публичный Метод

public SyncCollections ( IReadOnlyCollection collections, bool countCheck = true ) : Task
collections IReadOnlyCollection
countCheck bool
Результат Task