Table of Contents

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

logger ILogger<TranslationService>
configuration IConfiguration
settingsMonitor IOptionsMonitor<GlitchedLocaleServerSettings>

Methods

GetTranslations()

public IReadOnlyDictionary<string, Dictionary<string, string>> GetTranslations()

Returns

IReadOnlyDictionary<string, Dictionary<string, string>>

Refresh(CancellationToken?)

public Task Refresh(CancellationToken? cancellationToken = null)

Parameters

cancellationToken CancellationToken?

Returns

Task