ILocalTextRegistry.TryGet method
namespace: Serenity.Abstractions assembly: Serenity.Net.Core
Returns localized representation which corresponds to the local text key or null if none found in the source.
public string TryGet(string languageID, string key, bool pending)
parameter | description |
---|---|
key | Local text key (e.g. Enums.Month.June) |
languageID | Language identifier |
pending | Include pending (not approved) texts |
See Also
- interface ILocalTextRegistry