C# Класс Emby.Kodi.SyncQueue.EntryPoints.LibrarySyncNotification

Наследование: IServerEntryPoint
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
FilterItem bool
LibraryUpdateTimerCallback void
TriggerCancellation void
libraryManager_ItemAdded void
libraryManager_ItemRemoved void
libraryManager_ItemUpdated void

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

Метод Описание
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

Защищенные методы

Метод Описание
Dispose ( bool dispose ) : void

Releases unmanaged and - optionally - managed resources.

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

Метод Описание
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.

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

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

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.
Результат void

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

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
Результат MediaBrowser.Controller.Entities

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

public PushChangesToDB ( List itemsAdded, List itemsUpdated, List itemsRemoved, CancellationToken cancellationToken ) : Task
itemsAdded List
itemsUpdated List
itemsRemoved List
cancellationToken System.Threading.CancellationToken
Результат Task

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

public Run ( ) : void
Результат void

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

public UpdateLibrary ( List Items, string tableName, int status, CancellationToken cancellationToken ) : Task
Items List
tableName string
status int
cancellationToken System.Threading.CancellationToken
Результат Task