DefinitionalObjectCollectionTGetDefinitionHashCode Method  | 
 
            Gets a hash code representing the definition of this object.
            
 
    Namespace: 
   AGI.Foundation.Infrastructure
    Assembly:
   AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic int GetDefinitionHashCode()
Public Function GetDefinitionHashCode As Integer
public:
virtual int GetDefinitionHashCode() sealed
abstract GetDefinitionHashCode : unit -> int 
override GetDefinitionHashCode : unit -> int 
Return Value
Type: 
Int32The hash code.
Implements
IEquatableDefinitionGetDefinitionHashCode
Remarks
            This method is very similar to 
GetHashCode except that it explicitly includes
            the "definition" of the object even if the object does not typically act like a value.  The definition of
            an object typically includes all of the fields of the object.  The value returned by this method should
            NOT change.  This means that two objects for which 
IsSameDefinition(Object) returns 
            will not necessarily have the same hash code if one or the other was changed after the hash code was first
            obtained.
            
See Also