Class TranslationService
- Namespace
- GastroSky.Services.Translations
- Assembly
- GastroSky.dll
public class TranslationService : ITranslationService
- Inheritance
-
TranslationService
- Implements
- Inherited Members
Constructors
TranslationService(ILogger<TranslationService>, IConfiguration, IOptionsMonitor<GlitchedLocaleServerSettings>)
public TranslationService(ILogger<TranslationService> logger, IConfiguration configuration, IOptionsMonitor<GlitchedLocaleServerSettings> settingsMonitor)
Parameters
loggerILogger<TranslationService>configurationIConfigurationsettingsMonitorIOptionsMonitor<GlitchedLocaleServerSettings>
Methods
GetTranslations()
public IReadOnlyDictionary<string, Dictionary<string, string>> GetTranslations()
Returns
Refresh(CancellationToken?)
public Task Refresh(CancellationToken? cancellationToken = null)
Parameters
cancellationTokenCancellationToken?