C# Класс Bloom.Api.CurrentBookHandler

This class is responsible for handling Server requests that depend on knowledge of the current book. An exception is some reader tools requests, which have their own handler, though most of them depend on knowing the current book.
Показать файл Открыть проект

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

Метод Описание
CurrentBookHandler ( BookSelection bookSelection, PageRefreshEvent pageRefreshEvent ) : System
RegisterWithServer ( EnhancedImageServer server ) : void

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

Метод Описание
HandleBookSettings ( ApiRequest request ) : void

Get a json of the book's settings.

HandleImageInfo ( ApiRequest request ) : void

Get a json of stats about the image. It is used to populate a tooltip when you hover over an image container

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

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

public CurrentBookHandler ( BookSelection bookSelection, PageRefreshEvent pageRefreshEvent ) : System
bookSelection Bloom.Book.BookSelection
pageRefreshEvent PageRefreshEvent
Результат System

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

public RegisterWithServer ( EnhancedImageServer server ) : void
server EnhancedImageServer
Результат void