src/Misc/EFTools/XmlCore/UI/ViewModels/PropertyWindow/Descriptors/CustomPropertyDescriptor.cs
/// <summary>
///     Update the property value within a transaction context
/// </summary>
/// <param name="updateCallback"></param>
Update the property value within a transaction context
Update the property value within a transaction context
private void UpdatePropertyValue(UpdatePropertyValueCallback updatePropertyValueCallback, string txName)
        {
            try
            {
                PropertyWindowViewModelHelper.CreateCommandProcessorContext(_editingContext, txName);
                updatePropertyValueCallback();
            }
            finally
            {
                PropertyWindowViewModelHelper.RemoveCommandProcessorContext();
            }
        }
private void UpdatePropertyValue ( UpdatePropertyValueCallback updatePropertyValueCallback , string txName ) { try { PropertyWindowViewModelHelper . CreateCommandProcessorContext ( _editingContext , txName ) ; updatePropertyValueCallback ( ) ; } finally { PropertyWindowViewModelHelper . RemoveCommandProcessorContext ( ) ; } }
Update the property value within a transaction context
Update the property value within a transaction context
updatePropertyValueCallback
UpdatePropertyValueCallback
txName
string
updateCallback
None