Interface ICommandTextSource
A culture-bearing vocabulary commands compose their titles and labels from: it maps a vocabulary key — the English default text — onto that culture's text. The CALLER picks the source, so the presentation layer owns the language (no thread culture involved); the command keeps its composition and degradation rules. Presentation layers can implement their own source or take the engine-default one from GenTextSource(CultureInfo, params Type[]) ([CultureText] declarations overlaid by SetTextOverride(string, string, string) registrations).
public interface ICommandTextSource
- Extension Methods
Properties
this[string]
The text of key in this source's culture; the key
itself when the source carries no entry — the key doubles as the
English default.
string this[string key] { get; }
Parameters
keystringVocabulary key — the English default text.
Property Value
- string
The culture's text, or the key itself.