public ClassGenerator(TemplateType type, string templateFilePath, string outputPathFormatString, PostReplacements postReplacements = null) { Type = type; Code = File.ReadAllText(templateFilePath); Templates = CodeSection.AllTemplates(Code); PostReplacements = postReplacements; OutputPathFormatString = outputPathFormatString; }