public string ReplaceProperty(string propertyName, string format) { //try //{ //return ChoString.ToString(ChoString.Evaluate(_target, propertyName)); return(ChoObject.ToString(ChoString.Evaluate(_target, propertyName), format)); //} //catch (Exception ex) //{ // return ChoPropertyManager.FormatException(propertyName, ex); //} }
public bool ContainsProperty(string propertyName, object context) { //return true; try { ChoString.Evaluate(_target, propertyName); return(true); } catch (ChoFatalApplicationException) { throw; } catch (Exception) { return(false); } }