类库说明文档
![]() | BaseHandler Class |
ashx处理基类 实现IHttpHandler, IRequiresSessionState接口

Namespace: DCSoft.Utility.Handle
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)

C#
public class BaseHandler : IHttpHandler, IRequiresSessionState
The BaseHandler type exposes the following members.

Name | Description | |
---|---|---|
![]() | BaseHandler | Initializes a new instance of the BaseHandler class |

Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ProcessRequest |
请求处理
|
![]() | SubProcessRequest |
虚函数,需要子类自行实现
|
![]() | ToString | (Inherited from Object.) |
![]() | TryParseBool |
字符转bool
|
![]() | TryParseDateTime |
时间格式转换
|
![]() | TryParseDecimal |
Decimal类型转换
|
![]() | TryParseDouble |
Double类型转换
|
![]() | TryParseInt |
int类型转换
|

Name | Description | |
---|---|---|
![]() ![]() | BeforeDelegate |
执行ProcessRequest前执行的委托 true继续执行,false则终止返回
|

Name | Description | |
---|---|---|
![]() | IsReusable |
设置IsReusable为true的时候,一定要保证线程安全,并且不依赖Request项,当然也不应该有成员变量,因为成员变量在同一个实例下是随意可用的
|
