Пример #1
0
        public ReadOnlyAction(AbstractAction inheritedAction)
            : base(inheritedAction)
        {
            this.inheritedAction = inheritedAction;

            foreach (AbstractProperty inheritedProperty in inheritedAction.Properties)
            {
                ReadOnlyProperty localProperty = new ReadOnlyProperty(inheritedProperty);
                AddProperty(localProperty);
            }

            header = new Header(Plugin.Header, Properties, false);
        }
Пример #2
0
 protected AbstractAction(AbstractAction inheritedAction = null)
     : base(inheritedAction)
 {
     properties = new List<AbstractProperty>();
 }