-
Notifications
You must be signed in to change notification settings - Fork 15
InputAttributeIsUnique
Severity - Fail
Check method - Here
The InputAttributeIsUnique
check ensures that there are not duplicate Input
or InputFromProperty
attributes for the same parameter.
This ensures that our documentation is accurate and valid for what users might see.
For example, the following methods would fail this check because the input attribute is duplicated
[Input("hello", "My variable")]
[Input("hello", "Also my variable")]
public static void HelloWorld(double hello)
{
}
[Input("hello", "My variable")]
[InputFromProperty("hello")]
public static void HelloWorld(double hello, double goodbye)
{
}
The correct implementation should instead look like this:
[Input("hello", "My variable")]
public static void HelloWorld(double hello)
{
}
[Input("hello", "My variable")]
[InputFromProperty("goodbye")]
public static void HelloWorld(double hello, double goodbye)
{
}
-
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