/// <summary> /// If assemblyName is not null, the assembly will be saved on disk. /// If assemblyName is null, the assembly will be generated in memory. /// </summary> public DomGenerator( IPluginsContainer <IConceptCodeGenerator> plugins, ICodeGenerator codeGenerator, ILogProvider logProvider, IAssemblyGenerator assemblyGenerator, DomGeneratorOptions domGeneratorOptions) { _domGeneratorOptions = domGeneratorOptions; _pluginRepository = plugins; _codeGenerator = codeGenerator; _log = logProvider; _assemblyGenerator = assemblyGenerator; }
/// <summary> /// If assemblyName is not null, the assembly will be saved on disk. /// If assemblyName is null, the assembly will be generated in memory. /// </summary> public DomGenerator( IPluginsContainer<IConceptCodeGenerator> plugins, ICodeGenerator codeGenerator, ILogProvider logProvider, IAssemblyGenerator assemblyGenerator, DomGeneratorOptions domGeneratorOptions) { _domGeneratorOptions = domGeneratorOptions; _pluginRepository = plugins; _codeGenerator = codeGenerator; _log = logProvider; _assemblyGenerator = assemblyGenerator; }