Question

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?

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top