Exemple #1
0
 public SqlStringLocalizer(string resourceType, SqlLocalizationOptions sqlLocalizationOptions, IBackgroundTaskQueue taskQueue)
 {
     _sqlLocalizationOptions = sqlLocalizationOptions;
     _resourceType           = resourceType;
     _taskQueue = taskQueue;
 }
 public SqlStringLocalizerFactory(IBackgroundTaskQueue taskQueue, IOptions <SqlLocalizationOptions> options)
 {
     _taskQueue = taskQueue;
     _sqlLocalizationOptions = options.Value;
 }