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".