C# 클래스 Emby.Kodi.SyncQueue.EntryPoints.LibrarySyncNotification

상속: IServerEntryPoint
파일 보기 프로젝트 열기: faush01/Emby.Kodi.SyncQueue

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