docs.unity3d.com
    Show / Hide Table of Contents

    Class QueryArgumentsParser

    Helper methods to parse query arguments from a Uri.

    Inheritance
    Object
    QueryArgumentsParser
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Common
    Syntax
    public static class QueryArgumentsParser

    Methods

    GetDictionaryFromArguments(Uri, Boolean)

    Parse the a Uri and returns a Dictionary of keys and values as string.

    Declaration
    public static Dictionary<string, string> GetDictionaryFromArguments(Uri uri, bool allowOverwrite = false)
    Parameters
    Type Name Description
    Uri uri

    The Uri containing a query.

    Boolean allowOverwrite

    Whether to allow a query to be overwritten if it exists more than once.

    Returns
    Type Description
    Dictionary<String, String>

    The resulting .

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown when uri is null.

    GetDictionaryFromString(String, Boolean)

    Parse the a query and returns a Dictionary of keys and values as string.

    Declaration
    public static Dictionary<string, string> GetDictionaryFromString(string queryString, bool allowOverwrite = false)
    Parameters
    Type Name Description
    String queryString

    The query to parse.

    Boolean allowOverwrite

    Whether to allow a query to be overwritten if it exists more than once.

    Returns
    Type Description
    Dictionary<String, String>

    The resulting .

    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