Click or drag to resize

EntityObjectExtensionsIsNullOrEqualToT Method

Compares the two object references. Returns true if the checked object is null or is equal to expectedObject.

Namespace:  Aloe.SystemFrameworks.Domain
Assembly:  Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntax
public static bool IsNullOrEqualTo<T>(
	this T checkedObject,
	T expectedObject
)
where T : EntityObject

Parameters

checkedObject
Type: T
The checked object.
expectedObject
Type: T
The expected value.

Type Parameters

T
The type of the objects to check.

Return Value

Type: Boolean
True if checkedObject is null or equal to expectedObject.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . 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