C# Class MetroPass.UI.ViewModels.LoadKdbViewModel

Inheritance: BaseScreen
Mostra file Open project: TheAngryByrd/MetroPass

Private Properties

Property Type Description
DisableEnableBlock System.Threading.Tasks.Task
EnablePickers void
FocuxPassword void
ResaveRecentFile void
TryLoadLastDatabase System.Threading.Tasks.Task
TryLoadLastKeefile System.Threading.Tasks.Task

Public Methods

Method Description
ClearFiles ( ) : void
LoadKdbViewModel ( INavigationService navigationService, IEventAggregator eventAggregator, IPageServices pageServices, IPWDatabaseDataSource dataSource ) : System
OpenDatabase ( ) : void
PickDatabase ( ) : void
PickKeyFile ( ) : void

Protected Methods

Method Description
OnViewLoaded ( object view ) : System.Threading.Tasks.Task

Private Methods

Method Description
DisableEnableBlock ( Func loadLastTasks ) : System.Threading.Tasks.Task
EnablePickers ( bool isEnabled ) : void
FocuxPassword ( ) : void
ResaveRecentFile ( string keyValue, IStorageFile file ) : void
TryLoadLastDatabase ( ApplicationDataContainer roamingSettings, StorageItemMostRecentlyUsedList storageList ) : System.Threading.Tasks.Task
TryLoadLastKeefile ( ApplicationDataContainer roamingSettings, StorageItemMostRecentlyUsedList storageList ) : System.Threading.Tasks.Task

Method Details

ClearFiles() public method

public ClearFiles ( ) : void
return void

LoadKdbViewModel() public method

public LoadKdbViewModel ( INavigationService navigationService, IEventAggregator eventAggregator, IPageServices pageServices, IPWDatabaseDataSource dataSource ) : System
navigationService INavigationService
eventAggregator IEventAggregator
pageServices IPageServices
dataSource IPWDatabaseDataSource
return System

OnViewLoaded() protected method

protected OnViewLoaded ( object view ) : System.Threading.Tasks.Task
view object
return System.Threading.Tasks.Task

OpenDatabase() public method

public OpenDatabase ( ) : void
return void

PickDatabase() public method

public PickDatabase ( ) : void
return void

PickKeyFile() public method

public PickKeyFile ( ) : void
return void