类库说明文档
![]() | JHConst Class |
程序集中使用的常量信息,该类为密封类

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

C#
public sealed class JHConst
The JHConst type exposes the following members.

Name | Description | |
---|---|---|
![]() ![]() | DoubleToStr |
将浮点数转换为指定位数的字符串格式
|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() ![]() | GetRealType |
返回当前类型的真实类型(如可空类型,则返回它的基本类型)
|
![]() | GetType | (Inherited from Object.) |
![]() ![]() | IsNullOrDBNull |
判断当前对象是否为 null 或者 DBNull 的值
|
![]() | ToString | (Inherited from Object.) |

Name | Description | |
---|---|---|
![]() ![]() | ImageExtensions |
有效的图片文件后缀名:.jpe|.jpeg|.jpg|.ico|.gif|.bmp|.emf|.exif|.tiff|.tif|.png
|
![]() ![]() | PatternDate |
用于验证是否为正确的日期格式
|
![]() ![]() | PatternDBC2 |
用于验证是否包含半角字符
|
![]() ![]() | PatternDouble |
用于验证是否是一个浮点类型,可带正负号(+ -0.123)
|
![]() ![]() | PatternEmail |
用于验证是否是一个正确的 Email 地址([email protected])
|
![]() ![]() | PatternHTML |
用于验证是否包含 HTML 和空格字符
|
![]() ![]() | PatternInt |
用于验证是否是一个整数类型,可带正负号(+ -123)
|
![]() ![]() | PatternSBC2 |
用于验证是否包含汉字或全角字符
|
![]() ![]() | PatternUDouble |
用于验证是否是一个正的浮点类型(0.123)
|
![]() ![]() | PatternUInt |
用于验证是否是一个正整数类型(123)
|
