OSDN Git Service

初コミット
[futonwriter/old_trunk.git] / HatenaDiaryClient / ViewModels / MainWindowViewModel.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.ComponentModel;
6
7 using Livet;
8 using Livet.Command;
9 using Livet.Messaging;
10 using Livet.Messaging.File;
11 using Livet.Messaging.Window;
12
13 using Azyobuzi.HatenaDiaryClient.Models;
14
15 namespace Azyobuzi.HatenaDiaryClient.ViewModels
16 {
17     public class MainWindowViewModel : ViewModel
18     {
19         /*コマンド、プロパティの定義にはそれぞれ 
20          * 
21          *  ldcom   : DelegateCommand(パラメータ無)
22          *  ldcomp  : DelegateCommand(型パラメータ有)
23          *  lprop   : 変更通知プロパティ
24          *  
25          * を使用してください。
26          */
27
28         /*ViewModelからViewを操作したい場合は、
29          * Messengerプロパティからメッセージ(各種InteractionMessage)を発信してください。
30          */
31
32         /*
33          * UIDispatcherを操作する場合は、DispatcherHelperのメソッドを操作してください。
34          * UIDispatcher自体はApp.xaml.csでインスタンスを確保してあります。
35          */
36
37         /*
38          * Modelからの変更通知などの各種イベントをそのままViewModelで購読する事はメモリリークの
39          * 原因となりやすく推奨できません。ViewModelHelperの各静的メソッドの利用を検討してください。
40          */
41     }
42 }