Skip to main content

Guard.ArgumentNotNull(Object, String) Method

Ensures that a specific argument is not a null reference.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v26.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public static void ArgumentNotNull(
    object argumentValue,
    string argumentName
)

Parameters

Name Type Description
argumentValue Object

An object representing the actual value of the argument to check.

argumentName String

A string holding the name of the argument to check.

Remarks

If the specified object is a null reference, an exception is thrown.

See Also