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;
 }
Exemplo n.º 2
0
 public EditedProperty(PropertyDef originalProperty, PropertyDefOptions propertyDefOptions)
 {
     OriginalProperty   = originalProperty;
     PropertyDefOptions = propertyDefOptions;
 }