Formatting Literal parameters of a C# code snippet

前端 未结 3 2125
一个人的身影
一个人的身影 2020-12-01 14:13

Is there any way that I can change how a Literal of a code snippet renders when it is used in the code that the snippet generates?

Specifically I\'d like to know if

3条回答
  •  猫巷女王i
    2020-12-01 14:24

    a "fix" may be to use a prefix in the naming or the member variable, i.e.:

    string m_$name$;
    string $name$
    {
     get{return m_$name$;}
     set{m_$name$=value;}
    };
    

提交回复
热议问题