Severity - Fail
Check method - Here
HasConstructor check ensures that all BHoM objects do not have a constructor unless they are implementing the
IImmutable interface on the object.
Constructors are only valid on
IImmutable objects that contain
get only properties, and are necessary for BHoM serialisation to function correctly.
The following scenarios will result in this check failing:
- An object which contains a constructor, and does not implement the
- An object which implements the
IImmutableinterface, but does not contain a constructor
More information on the use of
IImmutable interface within the BHoM can be found here.