DefinitionalObjectGetDefinitionHashCode Method (IEquatableDefinition) |
Gets a hash code safely.
If the specified object is , a valid hash code is still returned.
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 int GetDefinitionHashCode(
IEquatableDefinition o
)
Public Shared Function GetDefinitionHashCode (
o As IEquatableDefinition
) As Integer
public:
static int GetDefinitionHashCode(
IEquatableDefinition^ o
)
static member GetDefinitionHashCode :
o : IEquatableDefinition -> int
Parameters
- o
- Type: AGI.Foundation.InfrastructureIEquatableDefinition
The object for which to obtain the hash code.
Return Value
Type:
Int32The hash code of the object, or a default value if
o is
.
See Also