Skip to content
Fraser Greenroyd edited this page Apr 21, 2020 · 2 revisions

Summary

Severity - Warning

Check method - Here

Details

The HasOutputAttribute check ensures that a method has a Output or MultiOutput attribute explaining what the method is providing for users.

You can add an Output attribute with the following syntax sitting above the method:

[Output("outputName", "Your description here")]

If you have not used any attributes in your file previously, you may need to add the following using:

using BH.oM.Reflection.Attributes;

You may also need to add a reference to the Reflection_oM to your project if you have not previously used it.

Clone this wiki locally