C# Class Senparc.Weixin.MP.TenPayLibV3.RequestHandler

ファイルを表示 Open project: JeffreySu/WeiXinMPSDK Class Usage Examples

Protected Properties

Property Type Description
HttpContext System.Web.HttpContext
Parameters System.Collections.Hashtable

Public Methods

Method Description
CreateMd5Sign ( string key, string value ) : string

创建md5摘要,规则是:按参数名称a-z排序,遇到空值的参数不参加签名

GetAllParameters ( ) : Hashtable
GetDebugInfo ( ) : String

获取debug信息

GetKey ( ) : string

获取密钥

Init ( ) : void

初始化函数

ParseXML ( ) : string

输出XML

RequestHandler ( ) : System
RequestHandler ( HttpContext httpContext ) : System
SetDebugInfo ( String debugInfo ) : void

设置debug信息

SetKey ( string key ) : void

设置密钥

SetParameter ( string parameter, string parameterValue ) : void

设置参数值

Protected Methods

Method Description
GetCharset ( ) : string

Method Details

CreateMd5Sign() public method

创建md5摘要,规则是:按参数名称a-z排序,遇到空值的参数不参加签名
public CreateMd5Sign ( string key, string value ) : string
key string 参数名
value string 参数值
return string

GetAllParameters() public method

public GetAllParameters ( ) : Hashtable
return System.Collections.Hashtable

GetCharset() protected method

protected GetCharset ( ) : string
return string

GetDebugInfo() public method

获取debug信息
public GetDebugInfo ( ) : String
return String

GetKey() public method

获取密钥
public GetKey ( ) : string
return string

Init() public method

初始化函数
public Init ( ) : void
return void

ParseXML() public method

输出XML
public ParseXML ( ) : string
return string

RequestHandler() public method

public RequestHandler ( ) : System
return System

RequestHandler() public method

public RequestHandler ( HttpContext httpContext ) : System
httpContext System.Web.HttpContext
return System

SetDebugInfo() public method

设置debug信息
public SetDebugInfo ( String debugInfo ) : void
debugInfo String
return void

SetKey() public method

设置密钥
public SetKey ( string key ) : void
key string
return void

SetParameter() public method

设置参数值
public SetParameter ( string parameter, string parameterValue ) : void
parameter string
parameterValue string
return void

Property Details

HttpContext protected_oe property

protected HttpContext,System.Web HttpContext
return System.Web.HttpContext

Parameters protected_oe property

请求的参数
protected Hashtable,System.Collections Parameters
return System.Collections.Hashtable