docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DictionarySource

    Provides the ability to extract an object with a matching Key from an IDictionary or IDictionary<string, object>.

    Inheritance
    object
    DictionarySource
    Implements
    ISource
    Namespace: UnityEngine.Localization.SmartFormat.Extensions
    Assembly: Unity.Localization.dll
    Syntax
    [Serializable]
    public class DictionarySource : ISource

    Constructors

    Name Description
    DictionarySource(SmartFormatter)

    Creates a new instance of the formatter.

    Methods

    Name Description
    TryEvaluateSelector(ISelectorInfo)

    Evaluates the ISelectorInfo based on the CurrentValue. If this extension cannot evaluate the Selector, returns False. Otherwise, sets the Result and returns true.

    In This Article
    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)