Class FormatCache | Localization | 0.8.1-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class FormatCache

    Caches information about a format operation so that repeat calls can be optimized to run faster.

    Inheritance
    Object
    FormatCache
    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
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Wednesday, August 19, 2020