GooglePlayInstant/Editor/QuickDeploy/OAuth2Server.cs
/// <summary>
/// Returns a query string from the given uri.
/// </summary>
/// <exception cref="ArgumentException">Exception thrown when the uri query is null or empty or if it does not
/// start with '?'.</exception>
Returns a query string from the given uri.
Returns a query string from the given uri .
internal static string GetQueryString(Uri uri)
        {
            var query = uri.Query;
            if (string.IsNullOrEmpty(query))
            {
                throw new ArgumentException("URI is missing query parameters");
            }
            if (query[0] != '?')
            {
                throw new ArgumentException("Expect first character of URI query is \"?\"");
            }
            return query.Substring(1);
        }
internal static string GetQueryString ( Uri uri ) { var query = uri . Query ; if ( string . IsNullOrEmpty ( query ) ) { throw new ArgumentException ( " " ) ; } if ( query [ 0 ] != ' ' ) { throw new ArgumentException ( " \" \" " ) ; } return query . Substring ( 1 ) ; }
Returns a query string from the given uri.
Returns a query string from the given uri .
Exception thrown when the uri query is null or empty or if it does not
start with '?'.
Exception thrown when the uri query is null or empty or if it does not start with ' ? ' .
uri
Uri