IEquatableDefinition.IsSameDefinition Method |
Determines if this object has the same definition as another object.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxbool IsSameDefinition(
Object other
)
Function IsSameDefinition (
other As Object
) As Boolean
bool IsSameDefinition(
Object^ other
)
abstract IsSameDefinition :
other : Object -> bool
Parameters
- other
- Type: System.Object
The other instance to compare to this one.
Return Value
Type:
Booleantrue if this object has the same definition as the specified one.
false if the other object is
null, a different type
than this one, or if this object and the specified one have different definitions.
Remarks
This method is very similar to
Equals(Object) except that it explicitly considers
the "definitions" of the two objects for objects that do not typically act like values. The definition of
an object typically includes all of the fields of the object.
See Also