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;
 }
예제 #2
0
 public EditedProperty(PropertyDef originalProperty, PropertyDefOptions propertyDefOptions)
 {
     OriginalProperty   = originalProperty;
     PropertyDefOptions = propertyDefOptions;
 }