Class DictionarySource
Provides the ability to extract an object with a matching Key from an IDictionary or IDictionary<string, object>.
Implements
Namespace: UnityEngine.Localization.SmartFormat.Extensions
Assembly: Unity.Localization.dll
Syntax
[Serializable]
public class DictionarySource : ISource
Constructors
Name | Description |
---|---|
DictionarySource(SmartFormatter) | Creates a new instance of the formatter. |
Methods
Name | Description |
---|---|
TryEvaluateSelector(ISelectorInfo) | Evaluates the ISelectorInfo based on the CurrentValue. If this extension cannot evaluate the Selector, returns False. Otherwise, sets the Result and returns true. |