c# - Pass Value From T4 Template To Another -


I have a problem, I just need another (T4) value from the template file, for example, Pass the controller by the name of. 4 to list.cs.t4 (MVC 5.1), or if the controller's name is listed in the list,

thanks

Share a steady class assistant? To share "design-code", please think again to make your answer more "stateless"

If you want to share the code with your regular C # project, It is possible, but you need to refer to the shared assembly which you can reference. Just & lt; Including # # included # #. Directives to one Instructions have been given to draw directly into the CC file because the Directorate does not nest in control or classroom feature blocks. 'Cited from the aforesaid reply'

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

c++ - Redefined variable in the other module -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -