Click or drag to resize

DefinitionalObjectGetDefinitionHashCodeT Method (T)

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.3.420.0 (24.3.420.0)
Syntax
public static int GetDefinitionHashCode<T>(
	T o
)

Parameters

o
Type: T
The object for which to obtain the hash code.

Type Parameters

T
The type of o.

Return Value

Type: Int32
The hash code of the object, or a default value if o is .
See Also