Create a gist now

Instantly share code, notes, and snippets.

@kassyi /TestModel.cs Secret
Last active Jul 6, 2017

What would you like to do?
public class TestModel
{
public ReactiveCommand cw { get; } = new ReactiveCommand();
//↓エラーも出ず、意図した動作ができない。ハマる。
//public ReactiveCommand cw = new ReactiveCommand();
public Test()
{
//todo: ボタンを押すとhogeが出力されるようにする
cw.Subscribe(_ => { System.Diagnostics.Debug.WriteLine("hoge"); });
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment