public static IntBoxElement Sum(IntBoxElement par1, IntBoxElement par2) { IntBoxElement element = new IntBoxElement(null, "IntBox", "IntBox"); element.Value = par1.Value + par2.Value; return(element); }
/// <summary> /// Returns the length of the node value. /// </summary> /// <param name="node1">The first value</param> /// <param name="node2">The second value</param> /// <returns>The sum of the length of the nodes value.</returns> public static IntBoxElement Lenght(StringBoxElement par) { IntBoxElement element = new IntBoxElement(null, "IntBox", "IntBox"); element.Value = par.Value.Length; return(element); }
public static bool Less(IntBoxElement par1, IntBoxElement par2) { return(par1.Value < par2.Value); }
public static bool Greater(IntBoxElement par1, IntBoxElement par2) { return(par1.Value > par2.Value); }
public static bool Equal(IntBoxElement par1, IntBoxElement par2) { return(par1.Value == par2.Value); }