private Assert ( bool condition, string message = "Internal framework error." ) : void | ||
condition | bool | |
message | string | |
Résultat | void |
public static void Assert(bool condition, string message = "Internal framework error.")
{
if (!condition)
throw new Exception(message);
}
}