Table of Contents

Method NonNull

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

NonNull(object, string)

Checks whether specified object is not null. If object is null throws an exception.

public static void NonNull(object obj, string parameterName)

Parameters

obj object

Object to examine.

parameterName string

The name of the parameter that caused the exception.