Esempio n. 1
0
 public EditedEventUpdater(ModuleDocumentNode modNode, EventDef originalEvent, EventDefOptions eventDefOptions)
 {
     ownerNode = modNode.Context.DocumentTreeView.FindNode(originalEvent);
     if (ownerNode == null)
     {
         throw new InvalidOperationException();
     }
     @event = originalEvent;
     originalEventDefOptions = new EventDefOptions(originalEvent);
     newEventDefOptions      = eventDefOptions;
 }
Esempio n. 2
0
 public EditedEvent(EventDef originalEvent, EventDefOptions eventDefOptions)
 {
     OriginalEvent   = originalEvent;
     EventDefOptions = eventDefOptions;
 }