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

Inheritance: IDisposable
Mostra file Open project: faush01/Emby.Kodi.SyncQueue Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool dispose ) : void

Method Details

DbRepo() public method

public DbRepo ( string dp, ILogger logger, IJsonSerializer json = null ) : System
dp string
logger ILogger
json IJsonSerializer
return System

DeleteOldData() public method

public DeleteOldData ( long dtl ) : void
dtl long
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool dispose ) : void
dispose bool
return void

GetItems() public method

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
return List

GetUserInfos() public method

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
return List

SetUserInfoSync() public method

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
return void

WriteLibrarySync() public method

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