ILocalText interface
namespace: Serenity.Localization assembly: Serenity.Net.Core
An interface implemented by the LocalText class to access the initial translation value. Some classes like NestedLocalTextRegistration use this type to avoid re-registering an already initialized local text object when their initialization method is called more than once.
public interface ILocalText
Members
| name | description |
|---|---|
| Key { get; } | Gets the local text key. |
| OriginalKey { get; } | Returns the original key before the replacement or initialization. |
| ReplaceKey(…) | Replaces the local text key with the new key and stores the original key as the initial text. |
See Also
- Source: ILocalText.cs