• R/O
  • SSH
  • HTTPS

コミット

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

FreeTrainの進化系を目指す


コミットメタ情報

リビジョン66 (tree)
日時2016-11-13 19:05:56
作者c477

ログメッセージ

ReactiveExtensionsテスト&練習デモ

変更サマリ

差分

--- trunk/TestLauncher/test/RxPractice/HeavyTaskModel.cs (revision 65)
+++ trunk/TestLauncher/test/RxPractice/HeavyTaskModel.cs (revision 66)
@@ -16,6 +16,7 @@
1616 const int MAX_PROCEED = 1000;
1717 private int proceed = 0;
1818 private bool debugLog = true;
19+ /// Rx式のイベントを実装する時は、実体はSubject,外部へのインターフェースはIObservableが良い
1920 private SubjectBase<int> notifyProgress;
2021 private string name = "";
2122
@@ -72,7 +73,11 @@
7273 notifyProgress.OnNext(MAX_PROCEED);
7374 notifyProgress.OnCompleted();
7475 }
75-
76+
77+ /// <summary>
78+ /// 進捗を通知するIObservable
79+ /// Rx式のイベントを実装する時は、実体はSubject,外部へのインターフェースはIObservableが良い
80+ /// </summary>
7681 public IObservable<int> NotifyProgress
7782 {
7883 get