protected AbstractEvent(AbstractEvent inheritedEvent = null) : base(inheritedEvent) { properties = new List<AbstractProperty>(); AddDependency<ScopeChanged>("Type"); }
public ReadOnlyEvent(AbstractEvent inheritedEvent) : base(inheritedEvent) { this.inheritedEvent = inheritedEvent; foreach (AbstractProperty inheritedProperty in inheritedEvent.Properties) { ReadOnlyProperty localProperty = new ReadOnlyProperty(inheritedProperty); AddProperty(localProperty); } header = new Header(Plugin.Header, Properties, false); }