示例#1
0
 /// <summary>
 /// Returns an exception with a randomly generated message.
 /// </summary>
 public Exception GenerateException() =>
 _context.GenerateException();
示例#2
0
 /// <summary>
 /// Returns an exception with a randomly generated message.
 /// </summary>
 public static Exception GenerateException() =>
 Context.GenerateException();