KeyValuePairSource
Evaluates a Selector with a KeyValuePair_2. The key must be string, the value must be an Object.
Read time 1 minuteLast updated 7 days ago
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".