示例#1
0
 /// <summary>
 /// Asserts that the current object has been initialized already.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="that"></param>
 /// <param name="message"></param>
 public static void HaveValue <T>(this EventualAssertions <T?> that, string message = null) where T : struct
 {
     that.NotBeNull(message);
 }