public GeneratedFile Generate(Template template)
        {
            Template = template;
            var name = template.ClassName;
            var file = new GeneratedFile();

            file.FileName = name + ".xaml";
            file.Content  = XamlTemplate;
            return(file);
        }
        public GeneratedFile Generate(Template template, NameGenerator nameGenerator)
        {
            Template      = template;
            NameGenerator = nameGenerator;
            var name = template.ClassName;
            var file = new GeneratedFile();

            file.FileName = name + ".xaml.cs";
            file.Content  = CSharpTemplate;
            return(file);
        }