Skip to content

IsValidIImmutableObject

Summary

Severity - Fail

Check method - Here

Details

The IsValidIImmutableObject check ensures that IImmutable objects contain at least one property which has only a get accessor (no set accessor).

If an object has no properties which are get only, then the IImmutable interface should not be used.

More information

More information on the use of IImmutable interface within the BHoM can be found here.