DefinitionalObjectCollectionTIsSameDefinition 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: 24.2.419.0 (24.2.419.0)
Syntax public bool IsSameDefinition(
Object other
)
Public Function IsSameDefinition (
other As Object
) As Boolean
public:
virtual bool IsSameDefinition(
Object^ other
) sealed
abstract IsSameDefinition :
other : Object -> bool
override IsSameDefinition :
other : Object -> bool
Parameters
- other
- Type: SystemObject
The other instance to compare to this one.
Return Value
Type:
Boolean if this object has the same definition as the specified one.
if the other object is
, a different type
than this one, or if this object and the specified one have different definitions.
Implements
IEquatableDefinitionIsSameDefinition(Object)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