Kooboo.Commerce.Require.That C# (CSharp) Method

That() public static method

public static That ( bool condition, string paramName ) : void
condition bool
paramName string
return void
        public static void That(bool condition, string paramName)
        {
            if (!condition)
                throw new ArgumentException("Precondition is not met.", paramName);
        }

Same methods

Require::That ( bool condition, string paramName, string message ) : void