Using T4 I want to generate some code based on examining what files are in a directory relative to the template file being executed.
Is there a way in c# to identify what the path of the current template file is?