Severity - Fail
Check method - Here
IsValidConvertMethodName check ensures that
Convert class methods are named correctly based on the guidance for BHoM development.
The guidance, at the time of writing, states that
Convert methods should go
To their external software, and
From their external software, rather than
For example, this
Convert method will fail:
public static Span ToBHoM()
While this one will pass:
public static Span ToSoftware()
Although not a strict requirement, it is advised that convert method names reflect the software that the convert is going
from. This helps make it clear what the external object model is and helps inform users of what to expect when using the convert method.
Last update: March 17, 2023