C# Class WatchThis.Controllers.SlideshowChooserController

Inheritance: ISlideshowListViewer, INotifyPropertyChanged
Mostra file Open project: kevintavog/WatchThis.net Class Usage Examples

Public Methods

Method Description
AddEditDroppedFolders ( IList paths ) : void
AddEditFolder ( ) : void
CanClose ( ) : bool
ClearEdit ( ) : void
DeleteSlideshow ( ) : void

Deletes the edited slideshow if the edited tab is active, otherwise deletes the currently selected saved slideshow. Expected to be called on UI thread

EditSlideshow ( ) : void
EnumerationCompleted ( IList slideshowModels ) : void
FindSavedSlideshows ( ) : void
OpenSlideshow ( ) : void
RemoveEditFolders ( IList selectedFolders ) : void
RunSlideshow ( ) : void
SaveSlideshow ( ) : bool
SlideshowChooserController ( ISlideshowPickerViewer viewer, IPlatformService platformService ) : NLog

Private Methods

Method Description
AskQuestion ( string caption, string message ) : QuestionResponseType
SaveIfChanged ( ) : bool

If the EditedSlideshow has changes, ask the user if they want to save changes. Returns true if the caller can continue, false otherwise. True is returned if 1) There are no changes to EditedSlideshow - or there aren't 'worthwhile' changes 2) The user does NOT want to save 3) The user wants to save and the save succeeds False is returned if there are worthwhile changes and: 1) The user canceled the 'want to save' question 2) The user canceled the request for the save name 3) The save failed

ShowMessage ( string caption, string message ) : void

Method Details

AddEditDroppedFolders() public method

public AddEditDroppedFolders ( IList paths ) : void
paths IList
return void

AddEditFolder() public method

public AddEditFolder ( ) : void
return void

CanClose() public method

public CanClose ( ) : bool
return bool

ClearEdit() public method

public ClearEdit ( ) : void
return void

DeleteSlideshow() public method

Deletes the edited slideshow if the edited tab is active, otherwise deletes the currently selected saved slideshow. Expected to be called on UI thread
public DeleteSlideshow ( ) : void
return void

EditSlideshow() public method

public EditSlideshow ( ) : void
return void

EnumerationCompleted() public method

public EnumerationCompleted ( IList slideshowModels ) : void
slideshowModels IList
return void

FindSavedSlideshows() public method

public FindSavedSlideshows ( ) : void
return void

OpenSlideshow() public method

public OpenSlideshow ( ) : void
return void

RemoveEditFolders() public method

public RemoveEditFolders ( IList selectedFolders ) : void
selectedFolders IList
return void

RunSlideshow() public method

public RunSlideshow ( ) : void
return void

SaveSlideshow() public method

public SaveSlideshow ( ) : bool
return bool

SlideshowChooserController() public method

public SlideshowChooserController ( ISlideshowPickerViewer viewer, IPlatformService platformService ) : NLog
viewer ISlideshowPickerViewer
platformService IPlatformService
return NLog