Example #1
0
        private string GenerateArgsString(object[] args)
        {
            if (args == null || args.Length == 0)
            {
                return(string.Empty);
            }

            var result = new StringBuilder();

            for (int i = 0; i < args.Length; i++)
            {
                if (i > 0)
                {
                    result.Append(", ");
                }

                result.Append(TypeVerboserManager.Verbose(args[i]) ?? "null");
            }

            return(result.ToString());
        }
Example #2
0
 private string GenerateObjectString(object obj)
 {
     return(obj == null ? string.Empty : TypeVerboserManager.Verbose(obj));
 }
Example #3
0
 private string GenerateLongExceptionString(Exception ex)
 {
     return(ex == null ? string.Empty : TypeVerboserManager.Verbose(ex));
 }