2 using System.Collections.Generic;
5 using System.ComponentModel;
10 using Livet.Messaging.File;
11 using Livet.Messaging.Window;
13 using Azyobuzi.HatenaDiaryClient.Models;
15 namespace Azyobuzi.HatenaDiaryClient.ViewModels
17 public class MainWindowViewModel : ViewModel
21 * ldcom : DelegateCommand(パラメータ無)
22 * ldcomp : DelegateCommand(型パラメータ有)
28 /*ViewModelからViewを操作したい場合は、
29 * Messengerプロパティからメッセージ(各種InteractionMessage)を発信してください。
33 * UIDispatcherを操作する場合は、DispatcherHelperのメソッドを操作してください。
34 * UIDispatcher自体はApp.xaml.csでインスタンスを確保してあります。
38 * Modelからの変更通知などの各種イベントをそのままViewModelで購読する事はメモリリークの
39 * 原因となりやすく推奨できません。ViewModelHelperの各静的メソッドの利用を検討してください。