private bool CalcAsBool(object data) { return(Operand1.GetStrResultOut(data).Contains(Operand2.GetStrResultOut(data))); }
protected override bool CompareAsStr(object data) { return(StringComparer.InvariantCultureIgnoreCase.Compare(Operand1.GetStrResultOut(data), Operand2.GetStrResultOut(data)) < 0); }
protected string CalcAsStr(object data) { return(Operand1.GetStrResultOut(data) + Operand2.GetStrResultOut(data)); }
//protected override bool CompareAsGeom(object data) { return (Operand1.GetGeomResultOut(data).Equal(Operand2.GetGeomResultOut(data))); } protected override bool CompareAsStr(object data) { return(Operand1.GetStrResultOut(data) == Operand2.GetStrResultOut(data)); }
private bool CalcAsBool(object data) { return(Operand1.GetStrResultOut(data).IndexOf(Operand2.GetStrResultOut(data), StringComparison.OrdinalIgnoreCase) >= 0); }
private Int64 CalcRes(object data) { var idx = Operand2.GetStrResultOut(data).IndexOf(Operand1.GetStrResultOut(data)); return(idx + 1); }
private string CalcAsStr(object data) { string s = Operand1.GetStrResultOut(data); return(s.Substring(s.Length - (int)Operand2.GetIntResultOut(data))); }
private bool CalcAsBool(object data) { return(Operand1.GetStrResultOut(data).StartsWith(Operand2.GetStrResultOut(data))); }
private string CalcAsStr(object data) { return(Operand1.GetStrResultOut(data).Substring(0, (int)Operand2.GetIntResultOut(data))); }