-
Notifications
You must be signed in to change notification settings - Fork 15
HasUniqueMultiOutputAttributes
Severity - Fail
Check method - Here
The HasUniqueMultiOutputAttributes
check ensures that a method returning a type of Output<t, ..., tn>
has a matching number of MultiOutput
attributes that have unique indexes.
For example, a method returning Output<Panel, Opening>
would require 2 uniquely indexed MultiOutput
attributes to document both the Panel
and the Opening
.
If the method looked like the below, while containing 2 MultiOutput
attributes, would fail this check, because the index for both outputs cannot be 0
.
[MultiOutput(0, "panel")]
[MultiOutput(0, "opening")]
public static Output<Panel, Opening> MyTestMethod()
{
}
The method should instead look like this:
[MultiOutput(0, "panel")]
[MultiOutput(1, "opening")]
public static Output<Panel, Opening> MyTestMethod()
{
}
Where the index of the MultiOutput
attributes is unique.
-
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