Exemple #1
0
 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"));
 }
Exemple #2
0
 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"));
 }
Exemple #3
0
 public CustomFieldQuery(CustomFieldDefinition definition, String query, StringPropertyQuery.PropertyQueryType type)
     : base(definition)
 {
     this.query = query;
     this.type  = type;
 }
Exemple #4
0
 public XenModelObjectListContainsNameQuery(PropertyNames property, StringPropertyQuery.PropertyQueryType type, String query)
     : base(property, true)
 {
     this.query = query;
     this.type  = type;
 }