Patcher.Rules.Compiled.Helpers.DebugHelper.Assert C# (CSharp) Method

Assert() public method

public Assert ( bool condition, string text ) : void
condition bool
text string
return void
        public void Assert(bool condition, string text)
        {
            if (!condition)
                throw new CompiledRuleAssertException(text);
        }