C# Класс TodotxtTouch.WindowsPhone.ViewModel.MainViewModel

Наследование: ViewModelBase
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

MainViewModel() публичный Метод

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
Результат System

SetState() публичный Метод

public SetState ( TombstoneState state ) : void
state TombstoneState
Результат void

WireupTaskFileServices() публичный Метод

public WireupTaskFileServices ( PrimaryTaskFileService ptfs, ArchiveTaskFileService atfs ) : void
ptfs TodotxtTouch.WindowsPhone.Service.PrimaryTaskFileService
atfs TodotxtTouch.WindowsPhone.Service.ArchiveTaskFileService
Результат void