public EditedPropertyUpdater(ModuleDocumentNode modNode, PropertyDef originalProperty, PropertyDefOptions propertyDefOptions) { ownerNode = modNode.Context.DocumentTreeView.FindNode(originalProperty); if (ownerNode == null) { throw new InvalidOperationException(); } property = originalProperty; originalPropertyDefOptions = new PropertyDefOptions(originalProperty); newPropertyDefOptions = propertyDefOptions; }
public EditedProperty(PropertyDef originalProperty, PropertyDefOptions propertyDefOptions) { OriginalProperty = originalProperty; PropertyDefOptions = propertyDefOptions; }