CAESDO.Recruitment.Core.Utils.Check.Assert C# (CSharp) Метод

Assert() публичный статический Метод

Assertion check.
public static Assert ( bool assertion ) : void
assertion bool
Результат void
        public static void Assert(bool assertion)
        {
            if (UseExceptions) {
                if (!assertion) throw new AssertionException("Assertion failed.");
            }
            else {
                Trace.Assert(assertion, "Assertion failed.");
            }
        }

Same methods

Check::Assert ( bool assertion, string message ) : void
Check::Assert ( bool assertion, string message, Exception inner ) : void