C# Class Emby.Kodi.SyncQueue.EntryPoints.LibrarySyncNotification

Inheritance: IServerEntryPoint
Afficher le fichier Open project: faush01/Emby.Kodi.SyncQueue

Private Properties

Свойство Type Description
FilterItem bool
LibraryUpdateTimerCallback void
TriggerCancellation void
libraryManager_ItemAdded void
libraryManager_ItemRemoved void
libraryManager_ItemUpdated void

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

LibrarySyncNotification ( ILibraryManager libraryManager, ISessionManager sessionManager, IUserManager userManager, ILogger logger, IJsonSerializer jsonSerializer, IApplicationPaths applicationPaths ) : MediaBrowser.Controller.Entities
PushChangesToDB ( List itemsAdded, List itemsUpdated, List itemsRemoved, CancellationToken cancellationToken ) : Task
Run ( ) : void
UpdateLibrary ( List Items, string tableName, int status, CancellationToken cancellationToken ) : Task

Méthodes protégées

Méthode Description
Dispose ( bool dispose ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Méthode Description
FilterItem ( BaseItem item, int &type ) : bool
LibraryUpdateTimerCallback ( object state ) : void

Libraries the update timer callback.

TriggerCancellation ( ) : void
libraryManager_ItemAdded ( object sender, MediaBrowser.Controller.Library.ItemChangeEventArgs e ) : void

Handles the ItemAdded event of the libraryManager control.

libraryManager_ItemRemoved ( object sender, MediaBrowser.Controller.Library.ItemChangeEventArgs e ) : void

Handles the ItemRemoved event of the libraryManager control.

libraryManager_ItemUpdated ( object sender, MediaBrowser.Controller.Library.ItemChangeEventArgs e ) : void

Handles the ItemUpdated event of the libraryManager control.

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool dispose ) : void
dispose bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

LibrarySyncNotification() public méthode

public LibrarySyncNotification ( ILibraryManager libraryManager, ISessionManager sessionManager, IUserManager userManager, ILogger logger, IJsonSerializer jsonSerializer, IApplicationPaths applicationPaths ) : MediaBrowser.Controller.Entities
libraryManager ILibraryManager
sessionManager ISessionManager
userManager IUserManager
logger ILogger
jsonSerializer IJsonSerializer
applicationPaths IApplicationPaths
Résultat MediaBrowser.Controller.Entities

PushChangesToDB() public méthode

public PushChangesToDB ( List itemsAdded, List itemsUpdated, List itemsRemoved, CancellationToken cancellationToken ) : Task
itemsAdded List
itemsUpdated List
itemsRemoved List
cancellationToken System.Threading.CancellationToken
Résultat Task

Run() public méthode

public Run ( ) : void
Résultat void

UpdateLibrary() public méthode

public UpdateLibrary ( List Items, string tableName, int status, CancellationToken cancellationToken ) : Task
Items List
tableName string
status int
cancellationToken System.Threading.CancellationToken
Résultat Task