LogicModel.UpdateHash Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS.Logic.Models Namespace > LogicModel Class > LogicModel Methods >

LogicModel.UpdateHash Method

Updates the ModelHash property with a SHA-512 hash of the current object.

Namespace: BNCS.Logic.Models
Assembly:  BNCS.Logic.Models (in BNCS.Logic.Models.dll)

 

Syntax


public void UpdateHash()

 

Remarks


This method serializes the current object to a JSON string and then generates a SHA-512 hash from that string. The resulting hash is stored in the ModelHash property.

 

See Also


LogicModel Class

BNCS.Logic.Models Namespace