C# Class Bloom.Book.BookInfo

A BookInfo has everything needed to display a title and thumbnail, and (eventually) do common searching filtering operations, without accessing the actual contents of the book. A related responsibility is to wrap the meta.json file which stores this search/display data in a form suitable for uploading to our web server.
Show file Open project: BloomBooks/BloomDesktop Class Usage Examples

Private Properties

Property Type Description
SplitList string[]

Public Methods

Method Description
BookInfo ( string folderPath, bool isEditable ) : System
FixDefaultsIfAppropriate ( ) : void
Save ( ) : void
SetLicenseAndCopyrightMetadata ( Metadata metadata ) : void
TryGetPremadeThumbnail ( Image &image ) : bool

Protected Methods

Method Description
BookInfo ( ) : System

Private Methods

Method Description
SplitList ( string list ) : string[]

Method Details

BookInfo() protected method

protected BookInfo ( ) : System
return System

BookInfo() public method

public BookInfo ( string folderPath, bool isEditable ) : System
folderPath string
isEditable bool
return System

FixDefaultsIfAppropriate() public method

public FixDefaultsIfAppropriate ( ) : void
return void

Save() public method

public Save ( ) : void
return void

SetLicenseAndCopyrightMetadata() public method

public SetLicenseAndCopyrightMetadata ( Metadata metadata ) : void
metadata Metadata
return void

TryGetPremadeThumbnail() public method

public TryGetPremadeThumbnail ( Image &image ) : bool
image Image
return bool