BaseHandler Class

DCSoft.DBUtilityGeneric

BaseHandler Class
ashx处理基类 实现IHttpHandler, IRequiresSessionState接口
Inheritance Hierarchy
SystemObject  DCSoft.Utility.HandleBaseHandler

Namespace: DCSoft.Utility.Handle
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public class BaseHandler : IHttpHandler, 
	IRequiresSessionState

The BaseHandler type exposes the following members.

Constructors
  NameDescription
Public methodBaseHandler
Initializes a new instance of the BaseHandler class
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodProcessRequest
请求处理
Public methodSubProcessRequest
虚函数,需要子类自行实现
Public methodToString (Inherited from Object.)
Public methodTryParseBool
字符转bool
Public methodTryParseDateTime
时间格式转换
Public methodTryParseDecimal
Decimal类型转换
Public methodTryParseDouble
Double类型转换
Public methodTryParseInt
int类型转换
Top
Fields
  NameDescription
Public fieldStatic memberBeforeDelegate
执行ProcessRequest前执行的委托 true继续执行,false则终止返回
Top
Properties
  NameDescription
Public propertyIsReusable
设置IsReusable为true的时候,一定要保证线程安全,并且不依赖Request项,当然也不应该有成员变量,因为成员变量在同一个实例下是随意可用的
Top
See Also