C# Class Emby.Kodi.SyncQueue.Data.DbRepo

Inheritance: IDisposable
Afficher le fichier Open project: faush01/Emby.Kodi.SyncQueue Class Usage Examples

Méthodes publiques

Méthode Description
DbRepo ( string dp, ILogger logger, IJsonSerializer json = null ) : System
DeleteOldData ( long dtl ) : void
Dispose ( ) : void
GetItems ( long dtl, int status, bool movies, bool tvshows, bool music, bool musicvideos, bool boxsets ) : List
GetUserInfos ( long dtl, string userId, bool movies, bool tvshows, bool music, bool musicvideos, bool boxsets ) : List
SetUserInfoSync ( List dtos, List itemRefs, string userName, string userId, CancellationToken cancellationToken ) : void
WriteLibrarySync ( List Items, int status, CancellationToken cancellationToken ) : void

Méthodes protégées

Méthode Description
Dispose ( bool dispose ) : void

Method Details

DbRepo() public méthode

public DbRepo ( string dp, ILogger logger, IJsonSerializer json = null ) : System
dp string
logger ILogger
json IJsonSerializer
Résultat System

DeleteOldData() public méthode

public DeleteOldData ( long dtl ) : void
dtl long
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool dispose ) : void
dispose bool
Résultat void

GetItems() public méthode

public GetItems ( long dtl, int status, bool movies, bool tvshows, bool music, bool musicvideos, bool boxsets ) : List
dtl long
status int
movies bool
tvshows bool
music bool
musicvideos bool
boxsets bool
Résultat List

GetUserInfos() public méthode

public GetUserInfos ( long dtl, string userId, bool movies, bool tvshows, bool music, bool musicvideos, bool boxsets ) : List
dtl long
userId string
movies bool
tvshows bool
music bool
musicvideos bool
boxsets bool
Résultat List

SetUserInfoSync() public méthode

public SetUserInfoSync ( List dtos, List itemRefs, string userName, string userId, CancellationToken cancellationToken ) : void
dtos List
itemRefs List
userName string
userId string
cancellationToken System.Threading.CancellationToken
Résultat void

WriteLibrarySync() public méthode

public WriteLibrarySync ( List Items, int status, CancellationToken cancellationToken ) : void
Items List
status int
cancellationToken System.Threading.CancellationToken
Résultat void