Esempio n. 1
0
 protected virtual void OnStateVariableUpdated(object sender, StateVariableChangedArgs <string> args)
 {
     Value = args.NewValue;
     if (controller != null)
     {
         controller.UpdateStateVariable(this);
     }
 }
        protected virtual void OnChanged(StateVariableChangedArgs <string> e)
        {
            var changed = this.changed;

            if (changed != null)
            {
                changed(this, e);
            }
        }