Ejemplo n.º 1
0
        protected internal void raisePropertyChanging(string propertyName)
        {
            Contract.Requires(propertyName != null);

            verifyPropertyName(propertyName);
            if (!areChangeNotificationsEnabled)
            {
                return;
            }

            var handler = this.PropertyChanging;

            if (handler != null)
            {
                var e = new PropertyChangingEventArgs(propertyName);
                handler(this, e);
            }

            notifyObservable(new ObservedChange <object, object>()
            {
                PropertyName = propertyName, Sender = this, Value = null
            }, changingSubject);
        }
Ejemplo n.º 2
0
 /// <inheritdoc/>
 void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
 {
     PropertyChanging?.Invoke(this, args);
 }
 void IReactiveObject.RaisePropertyChanging(PropertyChangingEventArgs args)
 {
     PropertyChangingEventManager.DeliverEvent(this, args);
 }
 public virtual void RaisePropertyChanging(PropertyChangingEventArgs args)
 {
     this.reactiveObj.RaisePropertyChanging <MvxReactiveObject>(args.PropertyName);
 }
 public virtual void RaisePropertyChanging(PropertyChangingEventArgs args)
 {
     _mvxReactiveObject.RaisePropertyChanging(args.PropertyName);
 }
Ejemplo n.º 6
0
 public void RaisePropertyChanging(ReactiveUI.PropertyChangingEventArgs args)
 {
     PropertyChanging?.Invoke(this, args);
 }