You may obtain it via CodeModel.CodeTypeFromFullName("MyNameSpace.MyType")
.
Get the nested type of a generic CodeProperty using EnvDTE
-
03-06-2022 - |
문제
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?
해결책
제휴하지 않습니다 StackOverflow