.NETで簡単な例を見てみましょう。 public Person : INotifyPropertyChanged { string firstName, lastName; public event NotifyPropertyChangedEventHandler PropertyChanged; protected void OnPropertyChanged(string propertyName) { if ( this.PropertyChanged != null ) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } public string FirstName { get { return this.firstName; } set { this.firstName
![デザインパターンの自動化](https://cdn-ak-scissors.b.st-hatena.com/image/square/4ee3c38397a3aba1634844051fb47f520bed1bae/height=288;version=1;width=512/https%3A%2F%2Fres.infoq.com%2Farticles%2FDesign-Pattern-Automation%2Fja%2Fsmallimage%2FlogoDPA.jpg)