C# Class Cgw.SmcError.ResHelper

ResHelper
Show file Open project: eSDK/esdk_Cgw Class Usage Examples

Public Properties

Property Type Description
errNoDesc string>.Dictionary

Public Methods

Method Description
GetErrDesc ( uint errNo, string modelName, int languageId ) : string

查询指定错误码类和语言的错误码描述

InitialRes ( List ErrDesc ) : void

初始化res

Instance ( ) : ResHelper

单例模式实例

ResHelper ( ) : System

构造函数

Method Details

GetErrDesc() public method

查询指定错误码类和语言的错误码描述
public GetErrDesc ( uint errNo, string modelName, int languageId ) : string
errNo uint 错误码
modelName string 错误码模块名称
languageId int 语种ID
return string

InitialRes() public method

初始化res
public InitialRes ( List ErrDesc ) : void
ErrDesc List 错误列表
return void

Instance() public static method

单例模式实例
public static Instance ( ) : ResHelper
return ResHelper

ResHelper() public method

构造函数
public ResHelper ( ) : System
return System

Property Details

errNoDesc public static property

声明用于存放全部错误码的全局变量
public static Dictionary errNoDesc
return string>.Dictionary