IInspectionPropertyEditService.ChangeProperty
Section titled “IInspectionPropertyEditService.ChangeProperty”
- Applies a property mutation and records it when the owning feature observes a value change.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Inspection
Scope: Editor
Declaration
Section titled “Declaration”bool InnoEditor.Inspection.IInspectionPropertyEditService.ChangeProperty(object owner, string propertyName, System.Action mutation, string historyName, string? mergeKey, string? componentName)Parameters
Section titled “Parameters”Parameter owner: The domain object that owns the root serialized property.
Parameter propertyName: The exact root serialized member name.
Parameter mutation: The callback that assigns the requested value.
Parameter historyName: The user-facing name for the resulting history entry.
Parameter mergeKey: The current shared gesture key, or null for a discrete edit.
Parameter componentName: An optional public value component; null replaces the complete root value.
Returns
Section titled “Returns”true when the value changed and the owning feature recorded the edit; otherwise, false.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when owner or mutation is null.
Exception T:System.ArgumentException: Thrown when propertyName or historyName is empty.