Is it possible (and if yes, how?) to provide custom classes, types, whatsoever with the QuickInfo-Hovers provided by the .NET-Base-classes that explain e.g. a summary or definitions of the parameters and exceptions?
(Example for clarification)
Is it possible (and if yes, how?) to provide custom classes, types, whatsoever with the QuickInfo-Hovers provided by the .NET-Base-classes that explain e.g. a summary or definitions of the parameters and exceptions?
(Example for clarification)
You need to add XML Comments to your method.
GhostDoc is a free tool that will give you a context menu option that has a stab at it for you ;)
Kindness,
Dan
You can use XML comments in your code. Decorate your custom method with comments:
/// <summary>
/// Some description
/// </summary>
/// <param name="arg">Some argument</param>
static void SomeCustomMethod(int arg)
{
}
Enable XML comments when compiling the assembly. Add the MyAssembly.XML to the references and your custom method description will be shown.