示例#1
0
        protected AbstractEvent(AbstractEvent inheritedEvent = null)
            : base(inheritedEvent)
        {
            properties = new List<AbstractProperty>();

            AddDependency<ScopeChanged>("Type");
        }
示例#2
0
        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);
        }