public bool Format(object target, ref string msg) { //try //{ if (msg.IndexOf("{") == -1) { return(true); } msg = ChoString.ExpandPropertiesInternal(target, msg, '{', '}', '^', new IChoPropertyReplacer[] { new ChoCustomKeyValuePropertyReplacer(target) }); return(true); //} //catch (ChoFatalApplicationException) //{ // throw; //} //catch (Exception ex) //{ // msg = ChoPropertyManager.FormatException(msg, ex); // return false; //} }