Table of Contents

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

fileName string
serviceProvider IServiceProvider

Properties

FileName

public string FileName { get; set; }

Property Value

string

Methods

Load()

public IReadOnlyDictionary<TranslationLanguageKey, string> Load()

Returns

IReadOnlyDictionary<TranslationLanguageKey, string>

Save(IEnumerable<Translation>, LanguageInfo?)

public void Save(IEnumerable<Translation> translations, LanguageInfo? language = null)

Parameters

translations IEnumerable<Translation>
language LanguageInfo

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.