示例#1
0
        private string generateCode(IGeneratesCode generator)
        {
            var generatedAssembly = new GeneratedAssembly(_rules);
            var serviceVariables  = generator.AssemblyTypes(_rules, generatedAssembly);

            var code = generatedAssembly.GenerateCode(serviceVariables);

            return(code);
        }
 public GeneratorCompilationFailureException(IGeneratesCode generator, Exception innerException) : base($"Failure when trying to generate code for {generator.GetType().GetFullName()}", innerException)
 {
 }