C# 클래스 Senparc.Weixin.MP.TenPayLibV3.RequestHandler

파일 보기 프로젝트 열기: JeffreySu/WeiXinMPSDK 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
HttpContext System.Web.HttpContext
Parameters System.Collections.Hashtable

공개 메소드들

메소드 설명
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

设置参数值

보호된 메소드들

메소드 설명
GetCharset ( ) : string

메소드 상세

CreateMd5Sign() 공개 메소드

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

GetAllParameters() 공개 메소드

public GetAllParameters ( ) : Hashtable
리턴 System.Collections.Hashtable

GetCharset() 보호된 메소드

protected GetCharset ( ) : string
리턴 string

GetDebugInfo() 공개 메소드

获取debug信息
public GetDebugInfo ( ) : String
리턴 String

GetKey() 공개 메소드

获取密钥
public GetKey ( ) : string
리턴 string

Init() 공개 메소드

初始化函数
public Init ( ) : void
리턴 void

ParseXML() 공개 메소드

输出XML
public ParseXML ( ) : string
리턴 string

RequestHandler() 공개 메소드

public RequestHandler ( ) : System
리턴 System

RequestHandler() 공개 메소드

public RequestHandler ( HttpContext httpContext ) : System
httpContext System.Web.HttpContext
리턴 System

SetDebugInfo() 공개 메소드

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

SetKey() 공개 메소드

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

SetParameter() 공개 메소드

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

프로퍼티 상세

HttpContext 보호되어 있는 프로퍼티

protected HttpContext,System.Web HttpContext
리턴 System.Web.HttpContext

Parameters 보호되어 있는 프로퍼티

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