C# Class TodotxtTouch.WindowsPhone.ViewModel.MainViewModel

Inheritance: ViewModelBase
ファイルを表示 Open project: hartez/TodotxtTouch.WindowsPhone

Private Properties

Property Type Description
AddTask void
ArchiveTasks void
CanInitiateCallExecute bool
CanViewTaskDetailsExecute bool
Filter void
FilterByContext void
FilterByProject void
FinishSavingArchive void
InitiateArchiveTasks void
InitiateCall void
MarkSelectedTasksComplete void
RemoveSelectedTasks void
SaveCurrentTask void
Sync void
TaskFileServiceOnLocalHasChangesChanged void
ViewTask void
WireUpCommands void

Public Methods

Method Description
MainViewModel ( PrimaryTaskFileService taskFileService, ArchiveTaskFileService archiveFileService, ApplicationSettings applicationSettings ) : System

Initializes a new instance of the MainViewModel class.

SetState ( TombstoneState state ) : void
WireupTaskFileServices ( PrimaryTaskFileService ptfs, ArchiveTaskFileService atfs ) : void

Private Methods

Method Description
AddTask ( ) : void
ArchiveTasks ( object obj, LoadingStateChangedEventArgs args ) : void
CanInitiateCallExecute ( ) : bool
CanViewTaskDetailsExecute ( ) : bool
Filter ( DrillDownMessage message ) : void
FilterByContext ( ) : void
FilterByProject ( ) : void
FinishSavingArchive ( object obj, LoadingStateChangedEventArgs args ) : void
InitiateArchiveTasks ( ) : void
InitiateCall ( ) : void
MarkSelectedTasksComplete ( ) : void
RemoveSelectedTasks ( ) : void
SaveCurrentTask ( ) : void
Sync ( ) : void
TaskFileServiceOnLocalHasChangesChanged ( object sender, LocalHasChangesChangedEventArgs localHasChangesChangedEventArgs ) : void
ViewTask ( ) : void
WireUpCommands ( ) : void

Method Details

MainViewModel() public method

Initializes a new instance of the MainViewModel class.
public MainViewModel ( PrimaryTaskFileService taskFileService, ArchiveTaskFileService archiveFileService, ApplicationSettings applicationSettings ) : System
taskFileService TodotxtTouch.WindowsPhone.Service.PrimaryTaskFileService
archiveFileService TodotxtTouch.WindowsPhone.Service.ArchiveTaskFileService
applicationSettings ApplicationSettings
return System

SetState() public method

public SetState ( TombstoneState state ) : void
state TombstoneState
return void

WireupTaskFileServices() public method

public WireupTaskFileServices ( PrimaryTaskFileService ptfs, ArchiveTaskFileService atfs ) : void
ptfs TodotxtTouch.WindowsPhone.Service.PrimaryTaskFileService
atfs TodotxtTouch.WindowsPhone.Service.ArchiveTaskFileService
return void