Collapse All Expand All

C#

Clarion Library 6.1.1
ConditionChunk..::..GetHashCode Method
ConditionChunk Class See Also Send Feedback

[This is preliminary documentation and is subject to change.]

Gets the hash code for the condition chunk

Namespace: Clarion.Framework.Core
Assembly: ClarionLibrary (in ClarionLibrary.dll) Version: 6.1.1.0 (6.1.1.0)

# Syntax

C#
    public override int GetHashCode()

# Remarks

The hash code is calculated by XORing the hash code of the world IDs for all world object whose value within the condition is set to True

Note
The hash of a condition is calculated when a rule is committed (i.e., made immutable). Before the rule is committed, the hash code of the condition is the default hash value (i.e., from GetHashCode()()()())

# See Also

ConditionChunk Class
Clarion.Framework.Core Namespace