/* * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT-0 * * Description: Base class for notifying of property changes */ using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; namespace AWS.AutoScale.Console.Models { public class NotifyPropertyChangeBase : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; protected void OnPropertyChanged(String propertyName) { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } } }