This code allows to execute the method when the property is set.
It executes as much times as the property is set.
I would like to know a variant when the method executes only in case when the property's value is really changed.

```
public const string MyPropertyPropertyName = "MyProperty";

        private bool _myProperty = false;

        public bool MyProperty
        {
            get
            {
                return _myProperty;
            }
            set
            {
                Set(MyPropertyPropertyName, ref _myProperty, value);

                DoSomething();
            }
        }

        private void DoSomething()
        {

            // DO YOUR WORK

        }

```