-
Notifications
You must be signed in to change notification settings - Fork 16
HasOneConstructor
Severity - Fail
Check method - Here
The HasOneConstructor
check ensures that all BHoM objects that do have a constructor (and are allowed to do so by implementing the IImmutable
interface) only contains one constructor with parameters.
Objects which implement a constructor are permitted to also implement a parameterless constructor, but only if this is necessary.
Objects which implement more than one constructor taking parameters will be flagged as failing this check.
More information on the use of IImmutable
interface within the BHoM can be found here.
-
Introduction to the BHoM:
What is the BHoM for?
Structure of the BHoM
Technical Philosophy of the BHoM -
Getting Started:
Installing the BHoM
Using the BHoM
Submitting an Issue
Getting started for developers -
Use GitHub & Visual Studio:
Using the SCRUM Board
Resolving an Issue
Avoiding Conflicts
Creating a new Repository
Using Visual Studio
Using Visual Studio Code -
Contribute:
The oM
The Engine
The Adapter
The Toolkit
The UI
The Tests -
Guidelines:
Unit convention
Geometry
BHoM_Engine Classes
The IImmutable Interface
Handling Exceptional Events
BHoM Structural Conventions
BHoM View Quality Conventions
Code Versioning
Wiki Style
Coding Style
Null Handling
Code Attributes
Creating Icons
Changelog
Releases and Versioning
Open Sourcing Procedure
Dataset guidelines -
Foundational Interfaces:
IElement Required Extension Methods -
Continuous Integration:
Introduction
Check-PR-Builds
Check-Core
Check-Installer -
Code Compliance:
Compliance -
Further Reading:
FAQ
Structural Adapters
Mongo_Toolkit
Socket_Toolkit