Beispiel #1
0
 static string GetStr(GrhData grhData, string msg)
 {
     var s = string.Format("Exception caused by GrhData `{0}`.", grhData != null ? grhData.ToString() : "[NULL]");
     if (!string.IsNullOrEmpty(s))
         s += " " + msg;
     return s;
 }
Beispiel #2
0
        static string GetStr(GrhData grhData, string msg)
        {
            var s = string.Format("Exception caused by GrhData `{0}`.", grhData != null ? grhData.ToString() : "[NULL]");

            if (!string.IsNullOrEmpty(s))
            {
                s += " " + msg;
            }
            return(s);
        }
Beispiel #3
0
 /// <summary>
 /// Returns a <see cref="System.String"/> that represents this instance.
 /// </summary>
 /// <returns>
 /// A <see cref="System.String"/> that represents this instance.
 /// </returns>
 public override string ToString()
 {
     return("Grh: " + (GrhData != null ? GrhData.ToString() : "(No GrhData loaded)"));
 }