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