public CustomFieldQuery(XmlNode node) : base(new CustomFieldDefinition(node.FirstChild)) { this.query = Helpers.GetXmlAttribute(node, "query"); this.type = (StringPropertyQuery.PropertyQueryType) Enum.Parse(typeof(StringPropertyQuery.PropertyQueryType), Helpers.GetXmlAttribute(node, "type")); }
public XenModelObjectListContainsNameQuery(XmlNode node) : base(node) { this.query = Helpers.GetXmlAttribute(node, "query"); this.type = (StringPropertyQuery.PropertyQueryType) Enum.Parse(typeof(StringPropertyQuery.PropertyQueryType), Helpers.GetXmlAttribute(node, "type")); }
public CustomFieldQuery(CustomFieldDefinition definition, String query, StringPropertyQuery.PropertyQueryType type) : base(definition) { this.query = query; this.type = type; }
public XenModelObjectListContainsNameQuery(PropertyNames property, StringPropertyQuery.PropertyQueryType type, String query) : base(property, true) { this.query = query; this.type = type; }