C# Class Bloom.Book.UserPrefs

Show file Open project: BloomBooks/BloomDesktop Class Usage Examples

Private Properties

Property Type Description
Save void
UserPrefs System

Public Methods

Method Description
LoadOrMakeNew ( string fileName ) : UserPrefs
UpdateFileLocation ( string newDirectoryName ) : void

Used when the directory is changed because the book has been renamed

Private Methods

Method Description
Save ( ) : void
UserPrefs ( ) : System

Method Details

LoadOrMakeNew() public static method

public static LoadOrMakeNew ( string fileName ) : UserPrefs
fileName string
return UserPrefs

UpdateFileLocation() public method

Used when the directory is changed because the book has been renamed
public UpdateFileLocation ( string newDirectoryName ) : void
newDirectoryName string
return void