Click or drag to resize

DefinitionalObject.AreSameDefinition Method (Object, Object)

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

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

Parameters

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

Return Value

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