为 C# 中的枚举提供描述性帮助上下文 Visual Studio?

Providing descriptive help context for Enums in C# Visual Studio?

是否可以在代码下拉显示中为每个单独的枚举显示帮助上下文? (即控制space?)

例如

public enum Moods
{
    Depressed = 1,  ///On Rainy Days use this
    BlownAway = 2, ///On Stormy nights use this
    Ferengi = 3  //Use this for Profit and glory
}

稍后在代码中有特定的枚举,当我们键入时,它的注释显示在代码完成下拉列表中:Moods.

对于智能感知描述,使用 <summary> 标签,如:

/// <summary>
/// Various moods
/// </summary>
public enum Moods
{
    /// <summary>
    /// On Rainy Days use this
    /// </summary>
    Depressed = 1,  
    /// <summary>
    /// On Stormy nights use this
    /// </summary>
    BlownAway = 2, 
    /// <summary>
    /// Use this for Profit and glory
    /// </summary>
    Ferengi = 3  
}