DefinitionalObject.GetDefinitionHashCode Method (IEquatableDefinition) |
Gets a hash code safely.
If the specified object is null, a valid hash code is still returned.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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.Infrastructure.IEquatableDefinition
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
null.
See Also