Version v0.5 This structure defines a simple condition value for the available operand
Inheritance: Newtonsoft.Json.Linq.JObject
Exemplo n.º 1
0
 public HValue GetEqValue()
 {
     HValue value = null;
     try
     {
         value = new HValue(JObject.Parse(this["eq"].ToString()));
     }
     catch (Exception e)
     {
         Debug.WriteLine("{0} : Can not fetch the eq value attribute", e.ToString());
     }
     return value;
 }
Exemplo n.º 2
0
        public HValue GetEqValue()
        {
            HValue value = null;

            try
            {
                value = new HValue(JObject.Parse(this["eq"].ToString()));
            }
            catch (Exception e)
            {
                Debug.WriteLine("{0} : Can not fetch the eq value attribute", e.ToString());
            }
            return(value);
        }
Exemplo n.º 3
0
 public void SetNeValue(HValue value)
 {
     try
     {
         if (value == null)
         {
             this.Remove("ne");
         }
         else
         {
             this["ne"] = value;
         }
     }
     catch (Exception e)
     {
         Debug.WriteLine("{0} : Can not update the ne value attribute", e.ToString());
     }
 }
Exemplo n.º 4
0
 public void SetNeValue(HValue value)
 {
     try
     {
         if (value == null)
             this.Remove("ne");
         else
             this["ne"] = value;
     }
     catch (Exception e)
     {
         Debug.WriteLine("{0} : Can not update the ne value attribute", e.ToString());
     }
 }