public static void UnreachableCode <TException>(Func <string> getErrorMessage = null) where TException : Exception { CustomAssertionValidation.UnreachableCode <TException>(getErrorMessage); }
public static void IsTrue(bool isValid, Func <string> getErrorMessage = null) { CustomAssertionValidation.IsTrue <PreconditionViolationException>(isValid, getErrorMessage); }
public static void NotSupported <TException>([CallerMemberName] string functionName = null, Func <string> getErrorMessage = null) where TException : Exception { CustomAssertionValidation.NotSupported <TException>(functionName, getErrorMessage); }
public static void NotSupported(string functionName, Func <string> getErrorMessage = null) { CustomAssertionValidation.NotSupported <NotSupportedException>(functionName, getErrorMessage); }
public static void NotDisposed <TException>(bool isDisposed, string objectName, Func <string> getErrorMessage = null) where TException : Exception { CustomAssertionValidation.NotDisposed <TException>(isDisposed, objectName, getErrorMessage); }
public static void IsTrue <TException>(bool isValid, Func <string> getErrorMessage = null) where TException : Exception { CustomAssertionValidation.IsTrue <TException>(isValid, getErrorMessage); }
public static void UnreachableCode(Func <string> getErrorMessage = null) { CustomAssertionValidation.UnreachableCode <InvalidOperationException>(getErrorMessage); }