class Assert

in global :: Sandbox . Diagnostics

😔 No documentation found.


public static void IsValid( IValid obj )

Throws an exception when the given object is not valid.

public static void True( bool isValid, string message = null )

Throws an exception when given expression does not resolve to true.

  • isValid The expression to test
  • message Message to include in the exception, if any.

public static void False( bool isValid, string message = null )

Throws an exception when given expression does not resolve to false.

  • isValid The expression to test
  • message Message to include in the exception, if any.

public static void NotNull( T obj, string message )

😔 No documentation found.

public static void NotNull( T obj )

😔 No documentation found.

public static void IsNull( T obj, string message )

😔 No documentation found.

public static void IsNull( T obj )

😔 No documentation found.

public static void AreEqual( T a, T b, string message = null )

😔 No documentation found.

public static void AreNotEqual( T a, T b, string message = null )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.