public IndexModel(IDbCultureManager manager, IDbResourceExporter exporter, IApplicationLifetime lifetime, ILogger <IndexModel> logger) { _culManager = manager; _exporter = exporter; _applicationLifetime = lifetime; _logger = logger; }
public IndexModel(IDbResourceManager manager, IDbCultureManager cManager, ITranslatorFactory translatorFactory, ILogger <IndexModel> log) { _logger = log; _resManager = manager; _culManager = cManager; _translatorFactory = translatorFactory; // get all registered Resource services names TranslationProviders = new List <SelectListItem>(); foreach (var ts in translatorFactory.ServiceNames()) { TranslationProviders.Add(new SelectListItem { Text = ts, Value = ts }); } }
public IndexModel(IDbResourceManager manager, IDbCultureManager cManger) { _resManager = manager; _culManager = cManger; }
public CreateModel(IDbResourceManager manager, IDbCultureManager cman) { _resManager = manager; _cMan = cman; }