src/Misc/EFTools/XmlCore/UI/ViewModels/PropertyWindow/Descriptors/LinkedPropertyDescriptor.cs
/// <summary>
///     Update the property value within a shared transaction context.
/// </summary>
/// <param name="updateCallback"></param>
Update the property value within a shared transaction context.
Update the property value within a shared transaction context .
private void UpdatePropertyValue(UpdatePropertyValueCallback updatePropertyValueCallback, string txName)
        {
            try
            {
                _contextItem.BeginPropertyValueUpdate(_wrappedCustomPropertyDescriptor.EditingContext, txName);
                updatePropertyValueCallback();
            }
            catch (Exception)
            {
                _contextItem.OnPropertyValueUpdateException();
                throw;
            }
            finally
            {
                _contextItem.EndPropertyValueUpdate();
            }
        }
private void UpdatePropertyValue ( UpdatePropertyValueCallback updatePropertyValueCallback , string txName ) { try { _contextItem . BeginPropertyValueUpdate ( _wrappedCustomPropertyDescriptor . EditingContext , txName ) ; updatePropertyValueCallback ( ) ; } catch ( Exception ) { _contextItem . OnPropertyValueUpdateException ( ) ; throw ; } finally { _contextItem . EndPropertyValueUpdate ( ) ; } }
Update the property value within a shared transaction context.
Update the property value within a shared transaction context .
// We need to inform the context-item that an exception has been raised so that the undo-scope can be closed.
updatePropertyValueCallback
UpdatePropertyValueCallback
txName
string
updateCallback
None