Asp.net web api 如何在microsoft bot emulator中隐藏该枚举值?

Asp.net web api 如何在microsoft bot emulator中隐藏该枚举值?,asp.net-web-api,Asp.net Web Api,如何避免像1,2这样的枚举值…我想隐藏它并显示我的自定义字符串 public enum Qst1 { Interact_with_many_including_strangers = 1, Interact_with_a_few_known_to_you } public enum Qst2 { Realistic_than_speculative = 1, Speculative_than_realistic } [Prompt("At a party d

如何避免像1,2这样的枚举值…我想隐藏它并显示我的自定义字符串

public enum Qst1
{
    Interact_with_many_including_strangers = 1,
    Interact_with_a_few_known_to_you
}

public enum Qst2
{
    Realistic_than_speculative = 1,
    Speculative_than_realistic

}

[Prompt("At a party do you: {||}")]
public Qst1 A1;
[Prompt(" Are you more:{||}")]
public Qst2 A2;
[Prompt("Is it worse to:{||}")]
public Qst3 A3;
return _order.Field(nameof(Questions.A1)).Field(nameof(Questions.A2))

你能添加一些代码吗?公共枚举Qst1{Interact_与_many_包括_陌生人=1,Interact_与_少数_已知_对_you};公共枚举Qst2{Realistic\u than\u投机性=1,投机性\u than\u Realistic}