C# Class FloydPink.Flickr.Downloadr.Presentation.PreferencesPresenter

Inheritance: PresenterBase, IPreferencesPresenter
Show file Open project: flickr-downloadr/flickr-downloadr

Public Methods

Method Description
EmptyCacheDirectory ( string cacheLocation ) : void
GetCacheFolderSize ( string cacheLocation ) : string
PreferencesPresenter ( IPreferencesView view, IPreferencesLogic logic ) : System.IO
Save ( Preferences preferences ) : void

Private Methods

Method Description
GetBytesReadable ( long bytes ) : string

Method Details

EmptyCacheDirectory() public method

public EmptyCacheDirectory ( string cacheLocation ) : void
cacheLocation string
return void

GetCacheFolderSize() public method

public GetCacheFolderSize ( string cacheLocation ) : string
cacheLocation string
return string

PreferencesPresenter() public method

public PreferencesPresenter ( IPreferencesView view, IPreferencesLogic logic ) : System.IO
view IPreferencesView
logic IPreferencesLogic
return System.IO

Save() public method

public Save ( Preferences preferences ) : void
preferences FloydPink.Flickr.Downloadr.Model.Preferences
return void