漫坊亭

社会の底辺プログラマ

2015-07-06から1日間の記事一覧

Caliburn.Microの小技:NotifyOfPropertyChangeの代わりにSetPropertyを使う

PrismのSetPropertyに慣れていると、Caliburn.Microのプロパティは書くのが面倒くさい。 public int Count { get { return this._Count; } set { if (this._Count != value) { this._Count = value; this.NotifyOfPropertyChange(() => Count); } } } privat…