C# Class Senparc.Weixin.Work.TenPayLib.RequestHandler

Afficher le fichier Open project: JeffreySu/WeiXinMPSDK

Protected Properties

Свойство Type Description
HttpContext System.Web.HttpContext
Parameters System.Collections.Hashtable

Méthodes publiques

Méthode Description
CreateMd5Sign ( string key, string value ) : string

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

GetAllParameters ( ) : Hashtable
GetDebugInfo ( ) : String

获取debug信息

GetKey ( ) : string

获取密钥

Init ( ) : void

初始化函数

ParseXML ( ) : string

输出XML

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

设置debug信息

SetKey ( string key ) : void

设置密钥

SetParameter ( string parameter, string parameterValue ) : void

设置参数值

Méthodes protégées

Méthode Description
GetCharset ( ) : string

Method Details

CreateMd5Sign() public méthode

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

GetAllParameters() public méthode

public GetAllParameters ( ) : Hashtable
Résultat System.Collections.Hashtable

GetCharset() protected méthode

protected GetCharset ( ) : string
Résultat string

GetDebugInfo() public méthode

获取debug信息
public GetDebugInfo ( ) : String
Résultat String

GetKey() public méthode

获取密钥
public GetKey ( ) : string
Résultat string

Init() public méthode

初始化函数
public Init ( ) : void
Résultat void

ParseXML() public méthode

输出XML
public ParseXML ( ) : string
Résultat string

RequestHandler() public méthode

public RequestHandler ( HttpContext httpContext ) : System
httpContext System.Web.HttpContext
Résultat System

SetDebugInfo() public méthode

设置debug信息
public SetDebugInfo ( String debugInfo ) : void
debugInfo String
Résultat void

SetKey() public méthode

设置密钥
public SetKey ( string key ) : void
key string
Résultat void

SetParameter() public méthode

设置参数值
public SetParameter ( string parameter, string parameterValue ) : void
parameter string
parameterValue string
Résultat void

Property Details

HttpContext protected_oe property

protected HttpContext,System.Web HttpContext
Résultat System.Web.HttpContext

Parameters protected_oe property

请求的参数
protected Hashtable,System.Collections Parameters
Résultat System.Collections.Hashtable