Accord.Diagnostics.Debug.Assert C# (CSharp) Méthode

Assert() private méthode

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);
        }
    }
Debug