NLog.Logger.Assert C# (CSharp) Method

Assert() public method

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