Skip to main content

Guard.ArgumentNotNullOrEmpty(String, String) Method

Ensures that a specific string argument is not a null reference, and is not an empty string.

Namespace: DevExpress.ExpressApp.Utils

Assembly: DevExpress.ExpressApp.v26.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public static void ArgumentNotNullOrEmpty(
    string argumentValue,
    string argumentName
)

Parameters

Name Type Description
argumentValue String

A string holding the value of the argument to check.

argumentName String

A string holding the name of the argument to check.

Remarks

If the specified string is a null reference of an empty string, an exception is thrown.

See Also