質問

I have a CodeProperty object in my T4 template of a generic property (ICollection<MyNameSpace.MyType>). How can I get the CodeElement object of MyNameSpace.MyType so I can inspect and do other things with it?

役に立ちましたか?

解決

You may obtain it via CodeModel.CodeTypeFromFullName("MyNameSpace.MyType").

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top