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; }
public EditedEvent(EventDef originalEvent, EventDefOptions eventDefOptions) { OriginalEvent = originalEvent; EventDefOptions = eventDefOptions; }