Accessing attribute info from DTE

前端 未结 2 1171
鱼传尺愫
鱼传尺愫 2020-12-29 20:41

I have coded something like the following:

[Attrib(typeof(MyCustomType))]
public class TargetType
{
  // .....
}

I want to use EnvDTE

2条回答
  •  無奈伤痛
    2020-12-29 21:16

    You can try to use a way described Get all methods that are decorated with a specific attribute using T4/EnvDTE

提交回复
热议问题