docs.unity3d.com
    Show / Hide Table of Contents

    Class LiteralUtility

    Inheritance
    Object
    LiteralUtility
    Namespace: Ludiq
    Syntax
    public static class LiteralUtility

    Methods

    Matches<T>(T, String)

    Declaration
    public static bool Matches<T>(T literal, string literalQuery)
    Parameters
    Type Name Description
    T literal
    String literalQuery
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    T

    Parse(String)

    Declaration
    public static IEnumerable<object> Parse(string s)
    Parameters
    Type Name Description
    String s
    Returns
    Type Description
    IEnumerable<Object>

    ToLiteralString(Object)

    Declaration
    public static string ToLiteralString(this object o)
    Parameters
    Type Name Description
    Object o
    Returns
    Type Description
    String

    ToLiteralStringOrDefault(Object)

    Declaration
    public static string ToLiteralStringOrDefault(this object o)
    Parameters
    Type Name Description
    Object o
    Returns
    Type Description
    String

    TryParse<T>(String, out T)

    Declaration
    public static bool TryParse<T>(string s, out T literal)
    Parameters
    Type Name Description
    String s
    T literal
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    T

    TryToLiteralString(Object, out String)

    Declaration
    public static bool TryToLiteralString(this object o, out string s)
    Parameters
    Type Name Description
    Object o
    String s
    Returns
    Type Description
    Boolean
    Back to top
    Terms of use
    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