Try our conversational search powered by Generative AI!

Class Check

Implements the shared checking methods.

Inheritance
System.Object
Check
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Shared
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
[Obsolete("This class is no longer used. Will remain at least until August 2020.")]
public static class Check

Methods

ArgumentIsNotNull(Object, String)

Arguments the is not null.

Declaration
public static void ArgumentIsNotNull(object argument, string name)
Parameters
Type Name Description
System.Object argument

The argument.

System.String name

The name.

IsNotNull(Object, String)

Determines whether [is not null] [the specified argument].

Declaration
public static void IsNotNull(object argument, string message)
Parameters
Type Name Description
System.Object argument

The argument.

System.String message

The message.

IsNotTrue(Boolean, String)

Determines whether [is not true] [the specified argument].

Declaration
public static void IsNotTrue(bool argument, string message)
Parameters
Type Name Description
System.Boolean argument

if set to true [argument].

System.String message

The message.

IsTrue(Boolean, String)

Determines whether the specified argument is true.

Declaration
public static void IsTrue(bool argument, string message)
Parameters
Type Name Description
System.Boolean argument

if set to true [argument].

System.String message

The message.