Skip to content

IsValidIImmutableObject

Fraser Greenroyd edited this page Nov 17, 2020 · 1 revision

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.

Clone this wiki locally