private void CreateCodeFile(ScriptCodeGenerator generator) { string outputFile = Path.GetFullPath(_OutputFolder + @"\" + generator.Name + ".cs"); generator.CreateWriter(outputFile); generator.Write(_Types); generator.CloseWriter(); }