zoukankan      html  css  js  c++  java
  • Microsoft.AspNetCore.WebUtilities项目提供助手类(QueryHelper、Base64UrlTextEncoder)

    程序集:Microsoft.AspNetCore.WebUtilities

    命名空间:Microsoft.AspNetCore.WebUtilities

    QueryHelpers:
        public static class QueryHelpers
        {
            //
            // 摘要:
            //     /// Append the given query keys and values to the uri. ///
            //
            // 参数:
            //   uri:
            //     The base uri.
            //
            //   queryString:
            //     A collection of name value query pairs to append.
            //
            // 返回结果:
            //     The combined result.
            public static string AddQueryString(string uri, IDictionary<string, string> queryString)
            {
                throw null;
            }
    
            //
            // 摘要:
            //     /// Append the given query key and value to the URI. ///
            //
            // 参数:
            //   uri:
            //     The base URI.
            //
            //   name:
            //     The name of the query key.
            //
            //   value:
            //     The query value.
            //
            // 返回结果:
            //     The combined result.
            public static string AddQueryString(string uri, string name, string value)
            {
                throw null;
            }
    
            //
            // 摘要:
            //     /// Parse a query string into its component key and value parts. ///
            //
            // 参数:
            //   queryString:
            //     The raw query string value, with or without the leading '?'.
            //
            // 返回结果:
            //     A collection of parsed keys and values, null if there are no entries.
            public static Dictionary<string, StringValues> ParseNullableQuery(string queryString)
            {
                throw null;
            }
    
            //
            // 摘要:
            //     /// Parse a query string into its component key and value parts. ///
            //
            // 参数:
            //   queryString:
            //     The raw query string value, with or without the leading '?'.
            //
            // 返回结果:
            //     A collection of parsed keys and values.
            public static Dictionary<string, StringValues> ParseQuery(string queryString)
            {
                throw null;
            }
        }
    Base64UrlTextEncoder:
        public static class Base64UrlTextEncoder
        {
            //
            // 摘要:
            //     /// Decodes supplied string by replacing the non-URL encodable characters with
            //     URL encodable characters and /// then decodes the Base64 string. ///
            //
            // 参数:
            //   text:
            //     The string to be decoded.
            //
            // 返回结果:
            //     The decoded data.
            public static byte[] Decode(string text)
            {
                throw null;
            }
    
            //
            // 摘要:
            //     /// Encodes supplied data into Base64 and replaces any URL encodable characters
            //     into non-URL encodable /// characters. ///
            //
            // 参数:
            //   data:
            //     Data to be encoded.
            //
            // 返回结果:
            //     Base64 encoded string modified with non-URL encodable characters
            public static string Encode(byte[] data)
            {
                throw null;
            }
        }
  • 相关阅读:
    处理视频流时可能出现的重复帧问题及解决办法
    shell脚本中cd命令无效
    C++教程之初识编程
    若干排序算法的Python实现方法及原理
    C/C++反三角函数使用注意
    ubuntu下安装pip install mysqlclient 报错 command "python setup.py egg_info" failed with error.....解决方案
    使用scrapy框架的monkey出现monkeypatchwarning: monkey-patching ssl after ssl...的解决办法
    机器学习之利用KNN近邻算法预测数据
    python数据分析的工具环境
    python代码实现经典排序算法
  • 原文地址:https://www.cnblogs.com/fanfan-90/p/13569956.html
Copyright © 2011-2022 走看看