Goedel.Debug.Trace.Assert C# (CSharp) Method

Assert() public static method

Yet another assertion method.
public static Assert ( string Text, bool Test ) : bool
Text string Text to report.
Test bool Test value.
return bool
        public static bool Assert(string Text, bool Test) {
            if (!Test) {
                throw new SystemException(Text);
                }
            return Test;
            }