문제

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