docs.unity3d.com

Localization 1.5.1

Search Results for

    Show / Hide Table of Contents

    Method FormatWithCache

    FormatWithCache(ref FormatCache, string, IList<object>)

    Replaces one or more format items in a specified string with the string representation of a specific object, using the FormatCache.

    Declaration
    public string FormatWithCache(ref FormatCache cache, string format, IList<object> args)
    Parameters
    Type Name Description
    FormatCache cache

    The FormatCache to use.

    string format

    A composite format string.

    IList<object> args

    The objects to format.

    Returns
    Type Description
    string

    Returns the formatted input with items replaced with their string representation.

    FormatWithCache(ref FormatCache, string, IFormatProvider, IList<object>)

    Replaces one or more format items in a specified string with the string representation of a specific object, using the FormatCache.

    Declaration
    public string FormatWithCache(ref FormatCache cache, string format, IFormatProvider formatProvider, IList<object> args)
    Parameters
    Type Name Description
    FormatCache cache
    string format
    IFormatProvider formatProvider
    IList<object> args
    Returns
    Type Description
    string
    In This Article
    • FormatWithCache(ref FormatCache, string, IList<object>)
    • FormatWithCache(ref FormatCache, string, IFormatProvider, IList<object>)
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)