|
@@ -9,42 +9,76 @@
|
|
|
Http请求扩展
|
|
|
</summary>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Extension.Ext_HttpContext.GetPostString(Microsoft.AspNetCore.Http.HttpRequest,System.Text.Encoding)">
|
|
|
+ <member name="M:Apq.Extension.Ext_HttpContext.ContentTypeCharset">
|
|
|
+ <remarks>
|
|
|
+ Pattern:<br/>
|
|
|
+ <code>charset="?([a-zA-Z0-9_-]+)</code><br/>
|
|
|
+ Explanation:<br/>
|
|
|
+ <code>
|
|
|
+ ○ Match the string "charset=".<br/>
|
|
|
+ ○ Match '"' atomically, optionally.<br/>
|
|
|
+ ○ 1st capture group.<br/>
|
|
|
+ ○ Match a character in the set [-0-9A-Z_a-z] atomically at least once.<br/>
|
|
|
+ </code>
|
|
|
+ </remarks>
|
|
|
+ </member>
|
|
|
+ <member name="M:Apq.Extension.Ext_HttpContext.GetFormEncoding(Microsoft.AspNetCore.Http.HttpRequest)">
|
|
|
+ <summary>
|
|
|
+ 获取Form的编码(默认UTF8)
|
|
|
+ </summary>
|
|
|
+ </member>
|
|
|
+ <member name="M:Apq.Extension.Ext_HttpContext.GetFormEncoding(System.Net.Http.HttpRequestMessage)">
|
|
|
+ <summary>
|
|
|
+ 获取Form的编码(默认UTF8)
|
|
|
+ </summary>
|
|
|
+ </member>
|
|
|
+ <member name="M:Apq.Extension.Ext_HttpContext.GetPostString(Microsoft.AspNetCore.Http.HttpRequest)">
|
|
|
<summary>
|
|
|
获取POST提交过来的内容
|
|
|
</summary>
|
|
|
<param name="me"></param>
|
|
|
- <param name="encoding">指定编码,默认UTF8</param>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Extension.Ext_HttpContext.GetParams(Microsoft.AspNetCore.Http.HttpRequest,System.Boolean,System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})">
|
|
|
+ <member name="M:Apq.Extension.Ext_HttpContext.GetParamsInBody(Microsoft.AspNetCore.Http.HttpRequest,System.Func{System.String,System.Text.Encoding,System.String})">
|
|
|
+ <summary>
|
|
|
+ 获取Body中的参数列表(POST)
|
|
|
+ </summary>
|
|
|
+ <param name="me"></param>
|
|
|
+ <param name="encodeFormUrlEncoded">提供编码或解码算法(仅用于application/x-www-form-urlencoded)。默认无</param>
|
|
|
+ </member>
|
|
|
+ <member name="M:Apq.Extension.Ext_HttpContext.GetParams(Microsoft.AspNetCore.Http.HttpRequest,System.Boolean,System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String},System.Func{System.String,System.Text.Encoding,System.String})">
|
|
|
<summary>
|
|
|
获取参数列表(POST/GET)
|
|
|
</summary>
|
|
|
<param name="me"></param>
|
|
|
<param name="PostFirst">是:优先获取POST参数;否:优先获取GET参数</param>
|
|
|
- <param name="encoding">从url提取参数时采用的编码</param>
|
|
|
- <param name="encodeFunc">从url提取参数时的编码算法,也可以是解码算法。默认使用WebUtility.UrlDecode</param>
|
|
|
+ <param name="encoding">从Query中提取参数时采用的编码</param>
|
|
|
+ <param name="encodeQuery">提供编码或解码算法。默认无</param>
|
|
|
+ <param name="encodeForm">提供编码或解码算法。默认无</param>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Extension.Ext_HttpContext.GetSortedQuery(Microsoft.AspNetCore.Http.HttpRequest)">
|
|
|
+ <member name="M:Apq.Extension.Ext_HttpContext.GetSortedQuery(Microsoft.AspNetCore.Http.HttpRequest,System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})">
|
|
|
<summary>
|
|
|
获取已排序的参数列表(GET)
|
|
|
</summary>
|
|
|
<param name="me"></param>
|
|
|
+ <param name="encoding">从Query中提取参数时采用的编码</param>
|
|
|
+ <param name="encodeQuery">提供编码或解码算法。默认无</param>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Extension.Ext_HttpContext.GetSortedForm(Microsoft.AspNetCore.Http.HttpRequest)">
|
|
|
+ <member name="M:Apq.Extension.Ext_HttpContext.GetSortedForm(Microsoft.AspNetCore.Http.HttpRequest,System.Func{System.String,System.Text.Encoding,System.String})">
|
|
|
<summary>
|
|
|
获取已排序的参数列表(POST)
|
|
|
</summary>
|
|
|
<param name="me"></param>
|
|
|
+ <param name="encodeForm">提供编码或解码算法。默认无</param>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Extension.Ext_HttpContext.GetSortedParams(Microsoft.AspNetCore.Http.HttpRequest,System.Boolean,System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String})">
|
|
|
+ <member name="M:Apq.Extension.Ext_HttpContext.GetSortedParams(Microsoft.AspNetCore.Http.HttpRequest,System.Boolean,System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String},System.Func{System.String,System.Text.Encoding,System.String})">
|
|
|
<summary>
|
|
|
获取已排序的参数列表(POST/GET)
|
|
|
</summary>
|
|
|
<param name="me"></param>
|
|
|
<param name="PostFirst">是:优先获取POST参数;否:优先获取GET参数</param>
|
|
|
- <param name="encoding">从url提取参数时采用的编码</param>
|
|
|
- <param name="encodeFunc">从url提取参数时的编码算法,也可以是解码算法。默认使用WebUtility.UrlDecode</param>
|
|
|
+ <param name="encoding">从Query中提取参数时采用的编码</param>
|
|
|
+ <param name="encodeQuery">提供编码或解码算法。默认无</param>
|
|
|
+ <param name="encodeForm">提供编码或解码算法。默认无</param>
|
|
|
</member>
|
|
|
<member name="M:Apq.Extension.Ext_HttpContext.GetParamValue``1(System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{System.String,System.String}},System.String)">
|
|
|
<summary>
|
|
@@ -55,16 +89,13 @@
|
|
|
<param name="key">参数名称</param>
|
|
|
<returns>参数值,是否获取成功</returns>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Extension.Ext_HttpContext.GetParams(System.Net.Http.HttpRequestMessage,System.Boolean)">
|
|
|
+ <member name="M:Apq.Extension.Ext_HttpContext.GetParams(System.Net.Http.HttpRequestMessage,System.Boolean,System.Text.Encoding,System.Func{System.String,System.Text.Encoding,System.String},System.Func{System.String,System.Text.Encoding,System.String})">
|
|
|
<summary>
|
|
|
获取参数列表(POST/GET)
|
|
|
</summary>
|
|
|
<param name="PostFirst">是:优先获取POST参数;否:优先获取GET参数</param>
|
|
|
- </member>
|
|
|
- <member name="M:Apq.Extension.Ext_HttpContext.ToQueryString(System.Collections.Generic.Dictionary{System.String,System.String},System.Text.Encoding)">
|
|
|
- <summary>
|
|
|
- 转为QueryString,如果不为空,则以?开头
|
|
|
- </summary>
|
|
|
+ <param name="encodeQuery">提供编码或解码算法。默认无</param>
|
|
|
+ <param name="encodeForm">提供编码或解码算法。默认无</param>
|
|
|
</member>
|
|
|
<member name="T:Apq.Web5.Filters.CallLogFilterAttribute">
|
|
|
<summary>
|
|
@@ -78,7 +109,7 @@
|
|
|
</member>
|
|
|
<member name="T:Apq.Web5.Filters.WebParamsFilterAttribute">
|
|
|
<summary>
|
|
|
- 参数值绑定支持Form中的参数,如果Form中有值则取Form中的值
|
|
|
+ 参数值绑定支持Body中传入的参数(覆盖QueryString中的同名参数)
|
|
|
</summary>
|
|
|
</member>
|
|
|
<member name="T:Apq.Web5.JsonReturn.JsonRtn`1">
|
|
@@ -97,67 +128,89 @@
|
|
|
服务器是否执行成功(注意:有时也用于业务结果)
|
|
|
</summary>
|
|
|
</member>
|
|
|
- <member name="P:Apq.Web5.JsonReturn.JsonRtnBase.Message">
|
|
|
+ <member name="P:Apq.Web5.JsonReturn.JsonRtnBase.StatusCode">
|
|
|
<summary>
|
|
|
- 信息(执行成功的信息 或 执行失败的信息)
|
|
|
+ 状态码
|
|
|
</summary>
|
|
|
</member>
|
|
|
- <member name="T:Apq.Web5.JsonReturn.JsonRtnEasyuiTable`1">
|
|
|
+ <member name="P:Apq.Web5.JsonReturn.JsonRtnBase.Message">
|
|
|
<summary>
|
|
|
- Json返回结构:符合easyui格式的表格
|
|
|
+ 信息(执行成功或失败的相关描述)
|
|
|
</summary>
|
|
|
- <typeparam name="T"></typeparam>
|
|
|
</member>
|
|
|
- <member name="T:Apq.Web5.PlAccessor.PHP.QueryStringBuilder">
|
|
|
+ <member name="T:Apq.Web5.JsonReturn.JsonTableRtn`1">
|
|
|
<summary>
|
|
|
- Helps up build a query string by converting an object into a set of named-values and making a query string out of it.
|
|
|
+ Json表返回结构:符合easyUI格式的表格
|
|
|
</summary>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Web5.PlAccessor.PHP.QueryStringBuilder.BuildQueryString(System.Object,System.String)">
|
|
|
+ <member name="P:Apq.Web5.JsonReturn.JsonTableRtn`1.total">
|
|
|
<summary>
|
|
|
- Builds the query string from the given instance.
|
|
|
+ 总行数
|
|
|
</summary>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Web5.PlAccessor.PHP.QueryStringBuilder.GetUriString(System.String)">
|
|
|
+ <member name="P:Apq.Web5.JsonReturn.JsonTableRtn`1.rows">
|
|
|
<summary>
|
|
|
- Convert the key-value pairs that we've collected into an actual query string.
|
|
|
+ 当前页的行集
|
|
|
</summary>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Web5.PlAccessor.PHP.QueryStringBuilder.AddEntry(System.String,System.Object,System.Boolean)">
|
|
|
+ <member name="T:Apq.Web5.ReqParam.PagerParams">
|
|
|
<summary>
|
|
|
- Adds a single entry to the collection.
|
|
|
+ easyUI的分页参数
|
|
|
</summary>
|
|
|
- <param name="prefix"> The prefix to use when generating the key of the entry. Can be null. </param>
|
|
|
- <param name="instance"> The instance to add.
|
|
|
-
|
|
|
- - If the instance is a dictionary, the entries determine the key and values.
|
|
|
- - If the instance is a collection, the keys will be the index of the entries, and the value
|
|
|
- will be each item in the collection.
|
|
|
- - If allowObjects is true, then the object's properties' names will be the keys, and the
|
|
|
- values of the properties will be the values.
|
|
|
- - Otherwise the instance is added with the given prefix to the collection of items. </param>
|
|
|
- <param name="allowObjects"> true to add the properties of the given instance (if the object is
|
|
|
- not a collection or dictionary), false to add the object as a key-value pair. </param>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Web5.PlAccessor.PHP.QueryStringBuilder.Add(System.String,System.Collections.Generic.IEnumerable{Apq.Web5.PlAccessor.PHP.QueryStringBuilder.Entry})">
|
|
|
+ <member name="P:Apq.Web5.ReqParam.PagerParams.pageNumber">
|
|
|
<summary>
|
|
|
- Adds the given collection of entries.
|
|
|
+ 第几页(1开始)
|
|
|
</summary>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Web5.PlAccessor.PHP.QueryStringBuilder.GetObjectAdapter(System.Object)">
|
|
|
+ <member name="P:Apq.Web5.ReqParam.PagerParams.pageSize">
|
|
|
<summary>
|
|
|
- Returns a collection of entries that represent the properties on the object.
|
|
|
+ 每页行数
|
|
|
</summary>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Web5.PlAccessor.PHP.QueryStringBuilder.GetArrayAdapter(System.Collections.IEnumerable)">
|
|
|
- <summary>
|
|
|
- Returns a collection of entries that represent items in the collection.
|
|
|
- </summary>
|
|
|
+ <member name="T:System.Text.RegularExpressions.Generated.ContentTypeCharset_0">
|
|
|
+ <summary>Custom <see cref="T:System.Text.RegularExpressions.Regex"/>-derived type for the ContentTypeCharset method.</summary>
|
|
|
</member>
|
|
|
- <member name="M:Apq.Web5.PlAccessor.PHP.QueryStringBuilder.GetDictionaryAdapter(System.Collections.IDictionary)">
|
|
|
- <summary>
|
|
|
- Returns a collection of entries that represent items in the dictionary.
|
|
|
- </summary>
|
|
|
+ <member name="F:System.Text.RegularExpressions.Generated.ContentTypeCharset_0.Instance">
|
|
|
+ <summary>Cached, thread-safe singleton instance.</summary>
|
|
|
+ </member>
|
|
|
+ <member name="M:System.Text.RegularExpressions.Generated.ContentTypeCharset_0.#ctor">
|
|
|
+ <summary>Initializes the instance.</summary>
|
|
|
+ </member>
|
|
|
+ <member name="T:System.Text.RegularExpressions.Generated.ContentTypeCharset_0.RunnerFactory">
|
|
|
+ <summary>Provides a factory for creating <see cref="T:System.Text.RegularExpressions.RegexRunner"/> instances to be used by methods on <see cref="T:System.Text.RegularExpressions.Regex"/>.</summary>
|
|
|
+ </member>
|
|
|
+ <member name="M:System.Text.RegularExpressions.Generated.ContentTypeCharset_0.RunnerFactory.CreateInstance">
|
|
|
+ <summary>Creates an instance of a <see cref="T:System.Text.RegularExpressions.RegexRunner"/> used by methods on <see cref="T:System.Text.RegularExpressions.Regex"/>.</summary>
|
|
|
+ </member>
|
|
|
+ <member name="T:System.Text.RegularExpressions.Generated.ContentTypeCharset_0.RunnerFactory.Runner">
|
|
|
+ <summary>Provides the runner that contains the custom logic implementing the specified regular expression.</summary>
|
|
|
+ </member>
|
|
|
+ <member name="M:System.Text.RegularExpressions.Generated.ContentTypeCharset_0.RunnerFactory.Runner.Scan(System.ReadOnlySpan{System.Char})">
|
|
|
+ <summary>Scan the <paramref name="inputSpan"/> starting from base.runtextstart for the next match.</summary>
|
|
|
+ <param name="inputSpan">The text being scanned by the regular expression.</param>
|
|
|
+ </member>
|
|
|
+ <member name="M:System.Text.RegularExpressions.Generated.ContentTypeCharset_0.RunnerFactory.Runner.TryFindNextPossibleStartingPosition(System.ReadOnlySpan{System.Char})">
|
|
|
+ <summary>Search <paramref name="inputSpan"/> starting from base.runtextpos for the next location a match could possibly start.</summary>
|
|
|
+ <param name="inputSpan">The text being scanned by the regular expression.</param>
|
|
|
+ <returns>true if a possible match was found; false if no more matches are possible.</returns>
|
|
|
+ </member>
|
|
|
+ <member name="M:System.Text.RegularExpressions.Generated.ContentTypeCharset_0.RunnerFactory.Runner.TryMatchAtCurrentPosition(System.ReadOnlySpan{System.Char})">
|
|
|
+ <summary>Determine whether <paramref name="inputSpan"/> at base.runtextpos is a match for the regular expression.</summary>
|
|
|
+ <param name="inputSpan">The text being scanned by the regular expression.</param>
|
|
|
+ <returns>true if the regular expression matches at the current position; otherwise, false.</returns>
|
|
|
+ </member>
|
|
|
+ <member name="T:System.Text.RegularExpressions.Generated.Utilities">
|
|
|
+ <summary>Helper methods used by generated <see cref="T:System.Text.RegularExpressions.Regex"/>-derived implementations.</summary>
|
|
|
+ </member>
|
|
|
+ <member name="F:System.Text.RegularExpressions.Generated.Utilities.s_defaultTimeout">
|
|
|
+ <summary>Default timeout value set in <see cref="T:System.AppContext"/>, or <see cref="F:System.Text.RegularExpressions.Regex.InfiniteMatchTimeout"/> if none was set.</summary>
|
|
|
+ </member>
|
|
|
+ <member name="F:System.Text.RegularExpressions.Generated.Utilities.s_hasTimeout">
|
|
|
+ <summary>Whether <see cref="F:System.Text.RegularExpressions.Generated.Utilities.s_defaultTimeout"/> is non-infinite.</summary>
|
|
|
+ </member>
|
|
|
+ <member name="F:System.Text.RegularExpressions.Generated.Utilities.s_ascii_20FF03FEFFFF87FEFFFF07">
|
|
|
+ <summary>Supports searching for characters in or not in "-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz".</summary>
|
|
|
</member>
|
|
|
</members>
|
|
|
</doc>
|