Click or drag to resize

DomainObjectExtensionsReferencesNullOrEqualsNull Method

Returns true if the specified object referenceses null or equals null. This is usefull for checking for any kind of special values, that do not reference null, but are considered equal to null (like ghost objects, special null value objects, etc.).

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static bool ReferencesNullOrEqualsNull(
	this Object obj
)

Parameters

obj
Type: SystemObject
The object to test.

Return Value

Type: Boolean
true if the object references null or is equal to null.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also