You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
6.0 KiB

<?xml version="1.0"?>
<doc>
<assembly>
<name>Senparc.Weixin.AspNet</name>
</assembly>
<members>
<member name="T:Senparc.Weixin.AspNet.RegisterServices.RegisterServiceExtension">
<summary>
快捷注册类RegisterService 扩展类
</summary>
</member>
<member name="M:Senparc.Weixin.AspNet.RegisterServices.RegisterServiceExtension.AddSenparcWeixinServices(Microsoft.Extensions.DependencyInjection.IServiceCollection,Microsoft.Extensions.Configuration.IConfiguration,Microsoft.Extensions.Hosting.IHostEnvironment)">
<summary>
注册 IServiceCollection并返回 RegisterService开始注册流程
</summary>
<param name="serviceCollection">IServiceCollection</param>
<param name="configuration">IConfiguration</param>
<param name="env">IHostingEnvironment</param>
<returns></returns>
</member>
<member name="M:Senparc.Weixin.AspNet.RegisterServices.RegisterServiceExtension.AddCertHttpClient(Microsoft.Extensions.DependencyInjection.IServiceCollection,System.String,System.String,System.String,Microsoft.Extensions.Hosting.IHostEnvironment)">
<summary>
注册 HttpClient 请求证书V3 API 可不使用)
</summary>
<param name="services"></param>
<param name="certName">证书名称</param>
<param name="certPassword">证书密码</param>
<param name="certPath">证书路径。
<para>物理路径D:\\cert\\apiclient_cert.p12</para>
<para>相对路径,如:~/App_Data/cert/apiclient_cert.p12注意必须放在 App_Data 等受保护的目录下,避免泄露</para></param>
<param name="env">IHostingEnvironment</param>
<returns></returns>
</member>
<member name="T:Senparc.Weixin.AspNet.MvcExtension.FixWeixinBugWeixinResult">
<summary>
修复微信换行 bug
</summary>
</member>
<member name="M:Senparc.Weixin.AspNet.MvcExtension.FixWeixinBugWeixinResult.#ctor(Senparc.NeuChar.MessageHandlers.IMessageHandlerDocument)">
<summary>
这个类型只用于特殊阶段目前IOS版本微信有换行的bug\r\n会识别为2行
</summary>
</member>
<member name="T:Senparc.Weixin.AspNet.MvcExtension.WeixinResult">
<summary>
返回MessageHandler结果
</summary>
</member>
<member name="P:Senparc.Weixin.AspNet.MvcExtension.WeixinResult.Content">
<summary>
获取ContentResult中的Content或IMessageHandler中的ResponseDocument文本结果。
一般在测试的时候使用。
</summary>
</member>
<member name="M:Senparc.Weixin.AspNet.WeixinRegister.UseSenparcWeixin(Microsoft.AspNetCore.Builder.IApplicationBuilder,Microsoft.Extensions.Hosting.IHostEnvironment,Senparc.CO2NET.SenparcSetting,Senparc.Weixin.Entities.SenparcWeixinSetting,System.Action{Senparc.CO2NET.RegisterServices.IRegisterService},System.Action{Senparc.CO2NET.RegisterServices.IRegisterService,Senparc.Weixin.Entities.SenparcWeixinSetting},System.Boolean,System.Func{System.Collections.Generic.List{Senparc.CO2NET.Cache.IDomainExtensionCacheStrategy}})">
<summary>
<para>开始包含 CO2NET 注册在内的 Senparc.Weixin SDK 初始化参数流程</para>
<para>注意:本方法集成了 CON2ET 全局注册以及 Senparc.Weixin SDK 微信注册过程,提供给对代码行数有极限追求的开发者使用,常规情况下为了提高代码可读性和可维护性,并不推荐使用此方法。</para>
</summary>
<param name="app">IApplicationBuilder</param>
<param name="env">IHostEnvironment</param>
<param name="senparcSetting">SenparcSetting</param>
<param name="senparcWeixinSetting">SenparcWeixinSetting</param>
<param name="globalRegisterConfigure">CO2NET 全局注册委托</param>
<param name="weixinRegisterConfigure">Senparc.Weixin 注册委托</param>
<param name="autoScanExtensionCacheStrategies">是否启用自动扩展缓存扫描</param>
<param name="extensionCacheStrategiesFunc">扩展内存委托</param>
<returns></returns>
</member>
<member name="T:Senparc.Weixin.BrowserUtility.BrowserUtility">
<summary>
浏览器公共类
</summary>
</member>
<member name="M:Senparc.Weixin.BrowserUtility.BrowserUtility.SideInWeixinBrowser(Microsoft.AspNetCore.Http.HttpContext)">
<summary>
判断是否在微信内置浏览器中
</summary>
<param name="httpContext">HttpContextBase对象</param>
<returns>true在微信内置浏览器内。false不在微信内置浏览器内。</returns>
</member>
<member name="M:Senparc.Weixin.BrowserUtility.BrowserUtility.SideInWeixinMiniProgram(Microsoft.AspNetCore.Http.HttpContext)">
<summary>
判断是否在微信小程序内发起请求注意此方法在Android下有效在iOS下暂时无效
</summary>
<param name="httpContext">HttpContextBase对象</param>
<returns>true在微信内置浏览器内。false不在微信内置浏览器内。</returns>
</member>
<member name="T:Senparc.Weixin.AspNetHttpUtility.UrlUtility">
<summary>
URL工具类
</summary>
</member>
<member name="M:Senparc.Weixin.AspNetHttpUtility.UrlUtility.GenerateOAuthCallbackUrl(Microsoft.AspNetCore.Http.HttpContext,System.String)">
<summary>
生成OAuth用的CallbackUrl参数原始状态未整体进行UrlEncode
</summary>
<param name="httpContext"></param>
<param name="oauthCallbackUrl"></param>
<returns></returns>
</member>
</members>
</doc>