public class MyClass {
/// <summary>
/// My awesome class
/// </summary>
/// <param name="i_a">This is test of A</param>
/// <param name="i_b">This is test of B</param>
public MyClass(string i_a, string i_b){
A = i_a;
B = i_b;
}
/// <summary> This is test of A </summary>
public string A {get;}
/// <summary> This is test of B </summary>
public string B {get;}
}
I want to add in param the same info as in Properties, of course, without duplication. I tried with:
Inheritdoc
It does not display the documentation when you are creating the instance.
/// <param name="i_a"><inheritdoc cref="A" select="summary" /></param>
/// <param name="i_b"><inheritdoc cref="B" select="summary" /></param>
See or see also link
It creates a link to the property, so that it is possible to navigate to it. But this is not what I want.
/// <param name="i_a"><see cref="A"/></param>
/// <param name="i_b"><see cref="B"/></param>
My goal
I want to see the documentation of the parameter during the constructor of the class like without duplicate the code comment.
var test = new MyClass() // start entering the parameters I want to see the documentation of each parameter.
It is possible?