public static void If <TActual>(TActual actual, IResolveConstraint expression) { Warn.If(actual, expression, null, null); }
public static void If(Func <bool> condition) { Warn.If(condition.Invoke(), Is.True, null, null); }
public static void If(Func <bool> condition, Func <string?> getExceptionMessage) { Warn.If(condition.Invoke(), Is.True, getExceptionMessage); }
public static void If(Func <bool> condition, string?message, params object?[]?args) { Warn.If(condition.Invoke(), Is.True, message, args); }
public static void If(bool condition, Func <string?> getExceptionMessage) { Warn.If(condition, Is.True, getExceptionMessage); }
public static void If(bool condition) { Warn.If(condition, Is.True, null, null); }
public static void If(bool condition, string?message, params object?[]?args) { Warn.If(condition, Is.True, message, args); }
public static void If <TActual>(ActualValueDelegate <TActual> del, IResolveConstraint expr) { Warn.If(del, expr.Resolve(), null, null); }