Class XmlSourceTest | Localization | 0.6.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class XmlSourceTest

    Inheritance
    Object
    XmlSourceTest
    Namespace: UnityEngine.Localization.SmartFormat.Tests.Extensions
    Syntax
    public class XmlSourceTest

    Fields

    TwoLevelXml

    Declaration
    public const string TwoLevelXml = "<root><Person>  <FirstName>Joe</FirstName>  <LastName>Doe</LastName>  <Phone>123-123-1234</Phone></Person><Person>  <FirstName>Jack</FirstName>  <LastName>Doe</LastName>  <Phone>789-789-7890</Phone></Person></root>"
    Field Value
    Type Description
    String

    Methods

    Format_MultipleElement_AccessibleByIndex()

    Declaration
    public void Format_MultipleElement_AccessibleByIndex()

    Format_MultipleElement_FormatsAsList()

    Declaration
    public void Format_MultipleElement_FormatsAsList()

    Format_MultipleElement_FormatsCount()

    Declaration
    public void Format_MultipleElement_FormatsCount()

    Format_MultipleElement_WithoutIndexesReturnsFirst()

    Declaration
    public void Format_MultipleElement_WithoutIndexesReturnsFirst()

    Format_SingleLevelXml_CanAccessWithIndex0()

    Declaration
    public void Format_SingleLevelXml_CanAccessWithIndex0()

    Format_SingleLevelXml_Replaced()

    Declaration
    public void Format_SingleLevelXml_Replaced()

    Format_SingleLevelXml_TemplateWithCurlyBraces_Escaped()

    Declaration
    public void Format_SingleLevelXml_TemplateWithCurlyBraces_Escaped()

    Format_TwoLevelXml_InvalidSelectors_Throws()

    Declaration
    public void Format_TwoLevelXml_InvalidSelectors_Throws()

    Format_XmlWithNamespaces_IgnoringNamespace()

    Declaration
    public void Format_XmlWithNamespaces_IgnoringNamespace()
    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