docs.unity3d.com
    Show / Hide Table of Contents

    Class FormatterBase

    Inheritance
    Object
    FormatterBase
    ChooseFormatter
    ConditionalFormatter
    DefaultFormatter
    IsMatchFormatter
    ListFormatter
    PluralLocalizationFormatter
    SubStringFormatter
    TemplateFormatter
    TimeFormatter
    XElementFormatter
    Namespace: UnityEngine.Localization.SmartFormat.Core.Extensions
    Syntax
    public abstract class FormatterBase : object, IFormatter, ISerializationCallbackReceiver

    Properties

    DefaultNames

    Declaration
    public abstract string[] DefaultNames { get; }
    Property Value
    Type Description
    String[]

    Names

    Declaration
    public string[] Names { get; set; }
    Property Value
    Type Description
    String[]
    Implements
    IFormatter.Names

    Methods

    OnAfterDeserialize()

    Declaration
    public void OnAfterDeserialize()

    OnBeforeSerialize()

    Declaration
    public void OnBeforeSerialize()

    TryEvaluateAllLiterals(IFormattingInfo)

    Declaration
    public abstract bool TryEvaluateAllLiterals(IFormattingInfo formattingInfo)
    Parameters
    Type Name Description
    IFormattingInfo formattingInfo
    Returns
    Type Description
    Boolean
    Implements
    IFormatter.TryEvaluateAllLiterals(IFormattingInfo)

    TryEvaluateFormat(IFormattingInfo)

    Declaration
    public abstract bool TryEvaluateFormat(IFormattingInfo formattingInfo)
    Parameters
    Type Name Description
    IFormattingInfo formattingInfo
    Returns
    Type Description
    Boolean
    Implements
    IFormatter.TryEvaluateFormat(IFormattingInfo)

    Extension Methods

    TupleExtensions.IsValueTuple(Object)
    TupleExtensions.GetValueTupleItemObjects(Object)
    TupleExtensions.GetValueTupleItemObjectsFlattened(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023