public string GetString(string key) { object data = this.content[key]; if (data == null) { return(null); } return(EConvert.ToString(data)); }
public static string escape(object data) { string text = EConvert.ToString(data); if (text.Contains(@"\")) { text = text.Replace(@"\", @"\\"); } if (text.Contains("'")) { text = text.Replace("'", @"\'"); } if (text.Contains("\r\n")) { text = text.Replace("\r\n", @"\r\n"); } return(text); }
public string GetString(string key) { return(EConvert.ToString(this.m_content[key])); }