Ejemplo n.º 1
0
        private void PropertyChanged(object sender, ProjectPropertyChangedEventArgs e)
        {
            _projectThreadingService.VerifyOnUIThread();

            var isDirty = WaitForAsync(_propertyManager.IsDirtyAsync);

            _propertyPageSite.OnStatusChange(
                (uint)(isDirty ? PROPPAGESTATUS.PROPPAGESTATUS_DIRTY : PROPPAGESTATUS.PROPPAGESTATUS_CLEAN));
            _vsProjectDesignerPageSite.OnPropertyChanged(
                e.PropertyName, e.PropertyName.ToProjectPropertyDescriptor(), e.OldValue, e.NewValue);
        }
Ejemplo n.º 2
0
        private void PropertyChanged(object sender, ProjectPropertyChangedEventArgs e)
        {
            ThreadHelper.ThrowIfNotOnUIThread();

            var isDirty = WaitForAsync(_propertyPageViewModel.IsDirtyAsync);

            _propertyPageSite.OnStatusChange(
                (uint)(isDirty ? PROPPAGESTATUS.PROPPAGESTATUS_DIRTY : PROPPAGESTATUS.PROPPAGESTATUS_CLEAN));
            _vsProjectDesignerPageSite.OnPropertyChanged(e.PropertyName, e.PropertyName.ToProjectPropertyDescriptor(),
                                                         e.OldValue, e.NewValue);
        }
Ejemplo n.º 3
0
 private void PropertyManager_PropertyChanged(object sender, ProjectPropertyChangedEventArgs e) =>
 ProjectPropertyChanged?.Invoke(this, e);