//constructors public NoUIOption(NoUIContainer Parent, XElement InputXml) : base(Parent) { this._querylist = new QueryPriorityList(this); this.LoadXml(InputXml); this.RefreshValue(); this.NotifyUpdate(); }
public void LoadXml(XElement inputxml) { foreach (XElement x in inputxml.Elements()) { //read in an option and add to a dictionary for later use if (x.Name == "Option") { ListItem newoption = new ListItem(x, this._parent.ControlFormatting, this._parent); this.Add(newoption); } else if (x.Name == "Query") { XElement wrapx = new XElement("wrapx"); wrapx.Add(x); QueryPriorityList newlist = new QueryPriorityList(this._parent); newlist.LoadXml(wrapx); this.Add(newlist); } } }
public BaseMatchingRule(XElement inputxml, ILinkTarget linktarget) { this._querylist = new QueryPriorityList(linktarget); this.LoadXml(inputxml); }
public BaseMatchingRule(ILinkTarget linktarget) { this._querylist = new QueryPriorityList(linktarget); }
public NoUIOption() : base() { this._querylist = new QueryPriorityList(this); }
public void Add(QueryPriorityList list) { this._lastindex++; this._querylists.Add(this._lastindex, list); }