KeyValuePairSource
Evaluates a Selector with a KeyValuePair_2. The key must be string, the value must be an Object.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: Unity.SmartStrings.Extensions
- Assembly: UnityEngine.SmartStringsModule
- Inherits from: Source
- Implements: ISource, IInitializer
public class KeyValuePairSource : Source, ISource, IInitializer
Remarks
Smart.Format("{key}", new KeyValuePair<string, object?>("key", "a value");
Result: "a value".