I am using T4 Template to generate c# class. I need to generate shadow class from another class Class1. In the Calss1, I have TypeAttribute which can tell what is the type of Proeprty in the Class1. By using reflection I am getting the Type specified in the TypeAttribute.
I am not getting any standard way to get the Type for the Generics in unmangled format.
I need List<String> from System.Collections.Generic.List`1[System.String].
I am using T4Toolbox for T4Template.
Is T4Toolbox is providing any such feature to deal with generics while generating c# code?
Thank you.
Aucun commentaire:
Enregistrer un commentaire