Can Visual Studio 2008 give hints about implementing an interface method

Is there any way to get VS2008 to provide additional information on how to implement a specific interface?

I think about how tags ///work when using the method. It seems to me that sometimes the method name and parameters simply cannot provide enough information about how the interface should work.

Edit

interface MyInterface 
{
    /// <summary>
    /// Returns if the object has a foo
    /// </summary>
    bool HasFoo ();
}

class MyClass : MyInterface
{
    bool HasFoo()  // (Returns if the object has a foo)   <---- Displayed automagicaly from the XML tag in MyInterface
    {
    }
}

I hope this question will be a little more detailed

+3
source share
5 answers

GhostDoc Visual Studio XML .

+2

Resharper - XML , !

+1

VS , .

VS " " . " " " ".

, - .

+1

You can put xml comments in the signature in the interface, and when you draw your class that implements the specified interface, you will see your xml comments. Otherwise, I have not heard of intellisense, which provides information about the implementation of the interface.

0
source

Visual Studio will not, but MSDN will. The documentation for each interface comes with implementation examples (see IComparable<T>for a good example).

0
source

Source: https://habr.com/ru/post/1721655/


All Articles