C# Class myProducts.Xamarin.Common.i18n.LanguageManager

Inheritance: ILanguageManager
Exibir arquivo Open project: ChristianWeyer/myProducts-End-to-End Class Usage Examples

Public Methods

Method Description
AddTranslation ( ITranslation translation ) : void
GetCurrentTranslation ( ) : ITranslation

Private Methods

Method Description
EnsureOnlyOneDefaultLanguage ( ITranslation translationToAdd ) : void
EnsureTranslationIsNotADuplicate ( ITranslation translationToAdd ) : void

Method Details

AddTranslation() public method

public AddTranslation ( ITranslation translation ) : void
translation ITranslation
return void

GetCurrentTranslation() public method

public GetCurrentTranslation ( ) : ITranslation
return ITranslation