コード例 #1
0
ファイル: DomGenerator.cs プロジェクト: tjakopovic/Rhetos
 /// <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;
 }
コード例 #2
0
ファイル: DomGenerator.cs プロジェクト: tjakopovic/Rhetos
 /// <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;
 }