C# Class Bloom.web.controllers.ImageApi

Show file Open project: BloomBooks/BloomDesktop

Public Methods

Method Description
ImageApi ( BookSelection bookSelection ) : System
RegisterWithServer ( EnhancedImageServer server ) : void

Private Methods

Method Description
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

Method Details

ImageApi() public method

public ImageApi ( BookSelection bookSelection ) : System
bookSelection Bloom.Book.BookSelection
return System

RegisterWithServer() public method

public RegisterWithServer ( EnhancedImageServer server ) : void
server Bloom.Api.EnhancedImageServer
return void