public LocalizationModelContext( ILogger <LocalizationModelContext> logger, IOptions <SqlLocalizationOptions> localizationOptions) { _logger = logger; _options = localizationOptions; _sqlLocalizationOptions = localizationOptions.Value; }
public SqlStringLocalizer(Dictionary <string, Dictionary <string, string> > localizations, LocalizationModelContext modelContext, string resourceKey, SqlLocalizationOptions options) { _modelContext = modelContext; _localizations = localizations; _resourceKey = resourceKey; _options = options; }