website
website copied to clipboard
Module detail page should show instructions how to register in Frosting
On the module detail page we currently show how to add the module NuGet package to a Frosting project:

But this is only the fist part to use the module in Frosting. The second part is to register the module with UseModule. It would be nice to be able to show this also in the usage section. For this we would need to search the assembly for CakeModuleAttribute, which usually registers a class implementing ICakeModule :
[assembly: CakeModule(typeof(UsuallyAClassThatImplementsICakeModule))]
With this information we should generate the UseModule calls for the Frosting usage example:
.UseModule<UsuallyAClassThatImplementsICakeModule>()