Class PropertiesTranslationStorage
- Namespace
- Uncreated.Warfare.Translations.Storage
- Assembly
- Uncreated.Warfare.dll
public class PropertiesTranslationStorage : ITranslationStorage
- Inheritance
-
PropertiesTranslationStorage
- Implements
- Inherited Members
Constructors
PropertiesTranslationStorage(string, IServiceProvider)
public PropertiesTranslationStorage(string fileName, IServiceProvider serviceProvider)
Parameters
fileNamestringserviceProviderIServiceProvider
Properties
FileName
public string FileName { get; set; }
Property Value
Methods
Load()
public IReadOnlyDictionary<TranslationLanguageKey, string> Load()
Returns
Save(IEnumerable<Translation>, LanguageInfo?)
public void Save(IEnumerable<Translation> translations, LanguageInfo? language = null)
Parameters
translationsIEnumerable<Translation>languageLanguageInfo
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.