Click or drag to resize

DefinitionalObjectAreSameDefinition Method (Object, Object)

Determines if two objects have the same definition or are both .

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static bool AreSameDefinition(
	Object first,
	Object second
)

Parameters

first
Type: SystemObject
The first object, which may be null.
second
Type: SystemObject
The second object, which may be null.

Return Value

Type: Boolean
if the two objects have the same definition; otherwise .
Remarks
If first implements IEquatableDefinition, this method will use IsSameDefinition(Object) to compare them. Otherwise, it will use Equals(Object, Object).
See Also