Beispiel #1
0
 public CaptionsResourceGenerator(
     IPluginsContainer <ICaptionsResourceGeneratorPlugin> plugins,
     CaptionsInitialCodePlugin initialCodePlugin,
     ICodeGenerator codeGenerator,
     ILogProvider logProvider,
     RhetosBuildEnvironment rhetosBuildEnvironment,
     FilesUtility filesUtility,
     MvcModelGeneratorOptions options)
 {
     _plugins                = plugins;
     _initialCodePlugin      = initialCodePlugin;
     _codeGenerator          = codeGenerator;
     _logger                 = logProvider.GetLogger("CaptionsResourceGenerator");
     _performanceLogger      = logProvider.GetLogger($"Performance.{nameof(CaptionsResourceGenerator)}");
     _rhetosBuildEnvironment = rhetosBuildEnvironment;
     _options                = options;
     _cacheUtility           = new CacheUtility(typeof(CaptionsResourceGenerator), rhetosBuildEnvironment, filesUtility);
 }
 public MvcModelInitialCodeGenerator(MvcModelGeneratorOptions options)
 {
     _options = options;
 }