/// <summary> /// Initializes the text file generation process. This method must be called before /// any generation process /// </summary> protected void InitializeGenerator() { //Call initialize templates if needed if (TemplatesReady == false) { TemplatesReady = InitializeTemplates(); } //For each template, clear all parameters bindings foreach (var template in Templates.Values) { template.ClearBindings(); } //Clear the contents of the files composer CodeFilesComposer.Clear(); //Initialize any other components of a generator sub-class inherited from this one InitializeOtherComponents(); }