Class FormatCache
Caches information about a format operation so that repeat calls can be optimized to run faster.
Namespace: UnityEngine.Localization.SmartFormat.Core.Formatting
Syntax
public class FormatCache
Constructors
FormatCache(Format)
Declaration
public FormatCache(Format format)
Parameters
Type | Name | Description |
---|---|---|
Format | format |
Properties
CachedObjects
Storage for any misc objects. This can be used by extensions that want to cache data, such as reflection information.
Declaration
public Dictionary<string, object> CachedObjects { get; }
Property Value
Type | Description |
---|---|
Dictionary<String, Object> |
Format
Caches the parsed format.
Declaration
public Format Format { get; }
Property Value
Type | Description |
---|---|
Format |