public PreferenceDocument(string username, SupportedLanguageCode code) { Username = username; PreferredLanguage = code.ToDescriptionString(); }
public void SetPreferredLanguage(SupportedLanguageCode code) { PreferredLanguage = code.ToDescriptionString(); }