You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2932 lines
110 KiB
2932 lines
110 KiB
3 years ago
|
<?xml version="1.0"?>
|
||
|
<doc>
|
||
|
<assembly>
|
||
|
<name>EC.Util</name>
|
||
|
</assembly>
|
||
|
<members>
|
||
|
<member name="T:EC.Util.Attributes.EntityAttribute">
|
||
|
<summary>
|
||
|
获取实体类Attribute自定义属性
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Attributes.EntityAttribute.GetEntityKey``1">
|
||
|
<summary>
|
||
|
获取实体对象Key
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Attributes.EntityAttribute.GetEntityTable``1">
|
||
|
<summary>
|
||
|
获取实体对象表名
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Attributes.EnumAttribute">
|
||
|
<summary>
|
||
|
获取实体类Attribute自定义属性
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Attributes.EnumAttribute.GetDescription(System.Enum)">
|
||
|
<summary>
|
||
|
返回枚举项的描述信息。
|
||
|
</summary>
|
||
|
<param name="value">要获取描述信息的枚举项。</param>
|
||
|
<returns>枚举想的描述信息。</returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.CommonHelper">
|
||
|
<summary>
|
||
|
常用公共类
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.TimerStart">
|
||
|
<summary>
|
||
|
计时器开始
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.TimerEnd(System.Diagnostics.Stopwatch)">
|
||
|
<summary>
|
||
|
计时器结束
|
||
|
</summary>
|
||
|
<param name="watch"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.RemoveDup(System.String[])">
|
||
|
<summary>
|
||
|
删除数组中的重复项
|
||
|
</summary>
|
||
|
<param name="values"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.CreateNo">
|
||
|
<summary>
|
||
|
自动生成编号 201008251145409865
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.RndNum(System.Int32)">
|
||
|
<summary>
|
||
|
生成0-9随机数
|
||
|
</summary>
|
||
|
<param name="codeNum">生成长度</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.DelLastComma(System.String)">
|
||
|
<summary>
|
||
|
删除最后结尾的一个逗号
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.DelLastChar(System.String,System.String)">
|
||
|
<summary>
|
||
|
删除最后结尾的指定字符后的字符
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.DelLastLength(System.String,System.Int32)">
|
||
|
<summary>
|
||
|
删除最后结尾的长度
|
||
|
</summary>
|
||
|
<param name="str"></param>
|
||
|
<param name="Length"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.WtRegedit(System.String,System.String)">
|
||
|
<summary>
|
||
|
写注册信息
|
||
|
</summary>
|
||
|
<param name="key">键</param>
|
||
|
<param name="tovalue">写入值</param>
|
||
|
<returns>是否成功</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.GetRegistMsg(System.String)">
|
||
|
<summary>
|
||
|
读取注册信息
|
||
|
</summary>
|
||
|
<param name="key">键</param>
|
||
|
<returns>值</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.GetConfiguration(System.String)">
|
||
|
<summary>
|
||
|
取得appSettings里的值
|
||
|
</summary>
|
||
|
<param name="key">键</param>
|
||
|
<returns>值</returns>
|
||
|
</member>
|
||
|
<!-- 对于成员“M:EC.Util.CommonHelper.ToHex(System.String,System.String,System.Boolean)”忽略有格式错误的 XML 注释 -->
|
||
|
<member name="M:EC.Util.CommonHelper.UnHex(System.String,System.String)">
|
||
|
<summary>
|
||
|
从16进制转换成汉字
|
||
|
</summary>
|
||
|
<param name="hex">操作的字符串</param>
|
||
|
<param name="charset">编码,如"utf-8","gb2312"</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.GetGB2312Len(System.String)">
|
||
|
<summary>
|
||
|
计算字符串长度 一个中文为2
|
||
|
</summary>
|
||
|
<param name="Instr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.SubString(System.String,System.Int32)">
|
||
|
<summary>
|
||
|
截取含有中文的字符串
|
||
|
</summary>
|
||
|
<param name="str"></param>
|
||
|
<param name="len"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.GetSubStringList(System.String,System.Int32,System.Collections.Generic.List{System.String})">
|
||
|
<summary>
|
||
|
|
||
|
</summary>
|
||
|
<param name="str">原始字符串</param>
|
||
|
<param name="length">每行长度</param>
|
||
|
<param name="list">返回list</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.GetNumToCNNum(System.Decimal)">
|
||
|
<summary>
|
||
|
小写转换大写
|
||
|
</summary>
|
||
|
<param name="Money"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.CommonHelper.GetCheckCode(System.Int32)">
|
||
|
<summary>
|
||
|
生成随机字母字符串(数字字母混和)
|
||
|
</summary>
|
||
|
<param name="codeCount">待生成的位数</param>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Comparint`1">
|
||
|
<summary>
|
||
|
版 本 9.0
|
||
|
Copyright (c) 2003-2017 港澳平台信息技术有限公司
|
||
|
创建人:Lxc
|
||
|
日 期:2015.11.9 10:45
|
||
|
描 述:可以根据字段过滤重复的数据
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.GZip">
|
||
|
<summary>
|
||
|
GZip压缩
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.GZip.Compress(System.String)">
|
||
|
<summary>
|
||
|
压缩
|
||
|
</summary>
|
||
|
<param name="text">文本</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.GZip.Decompress(System.String)">
|
||
|
<summary>
|
||
|
解压缩
|
||
|
</summary>
|
||
|
<param name="text">文本</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.GZip.Compress(System.Byte[])">
|
||
|
<summary>
|
||
|
压缩
|
||
|
</summary>
|
||
|
<param name="buffer">字节流</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.GZip.Decompress(System.Byte[])">
|
||
|
<summary>
|
||
|
解压缩
|
||
|
</summary>
|
||
|
<param name="buffer">字节流</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.GZip.Compress(System.IO.Stream)">
|
||
|
<summary>
|
||
|
压缩
|
||
|
</summary>
|
||
|
<param name="stream">流</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.GZip.Decompress(System.IO.Stream)">
|
||
|
<summary>
|
||
|
解压缩
|
||
|
</summary>
|
||
|
<param name="stream">流</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.GZip.StreamToBytes(System.IO.Stream)">
|
||
|
<summary>
|
||
|
流转换为字节流
|
||
|
</summary>
|
||
|
<param name="stream">流</param>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Config">
|
||
|
<summary>
|
||
|
Config文件操作
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Config.GetValue(System.String)">
|
||
|
<summary>
|
||
|
根据Key取Value值
|
||
|
</summary>
|
||
|
<param name="key"></param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Config.SetValue(System.String,System.String)">
|
||
|
<summary>
|
||
|
根据Key修改Value
|
||
|
</summary>
|
||
|
<param name="key">要修改的Key</param>
|
||
|
<param name="value">要修改为的值</param>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Const">
|
||
|
<summary>
|
||
|
常量
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Const.ChinesePinYin">
|
||
|
<summary>
|
||
|
汉字及拼音首字母
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Const.SimplifiedChinese">
|
||
|
<summary>
|
||
|
常用简体汉字
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Const.Letters">
|
||
|
<summary>
|
||
|
英文字母
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Const.Numbers">
|
||
|
<summary>
|
||
|
数字
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.DataHelper">
|
||
|
<summary>
|
||
|
数据源转换
|
||
|
</summary>
|
||
|
</member>
|
||
|
<!-- 对于成员“M:EC.Util.DataHelper.IListToList``1(System.Collections.IList)”忽略有格式错误的 XML 注释 -->
|
||
|
<member name="M:EC.Util.DataHelper.DataFilter(System.Data.DataTable,System.String)">
|
||
|
<summary>
|
||
|
根据条件过滤表的内容
|
||
|
</summary>
|
||
|
<param name="dt"></param>
|
||
|
<param name="condition"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DataHelper.IsExistRows(System.Data.DataTable)">
|
||
|
<summary>
|
||
|
检查DataTable 是否有数据行
|
||
|
</summary>
|
||
|
<param name="dt">DataTable</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DataHelper.DataTableToHashtable(System.Data.DataTable)">
|
||
|
<summary>
|
||
|
DataTable 转 DataTableToHashtable
|
||
|
</summary>
|
||
|
<param name="dt"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DataHelper.ListToDataTable``1(System.Collections.Generic.List{``0})">
|
||
|
<summary>
|
||
|
将泛类型集合List类转换成DataTable
|
||
|
</summary>
|
||
|
<param name="list">泛类型集合</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DataHelper.DataTableToXML(System.Data.DataTable)">
|
||
|
<summary>
|
||
|
DataTable 转 XML
|
||
|
</summary>
|
||
|
<param name="dt"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DataHelper.DataSetToXML(System.Data.DataSet)">
|
||
|
<summary>
|
||
|
DataSet 转 XML
|
||
|
</summary>
|
||
|
<param name="ds"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DataHelper.DataRowToHashTable(System.Data.DataRow)">
|
||
|
<summary>
|
||
|
DataRow 转 HashTable
|
||
|
</summary>
|
||
|
<param name="dr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Enums.DataType">
|
||
|
<summary>
|
||
|
数据类型
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Enums.DataType.None">
|
||
|
<summary>
|
||
|
未知
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Enums.DataType.Int">
|
||
|
<summary>
|
||
|
整型
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Enums.DataType.Number">
|
||
|
<summary>
|
||
|
数字
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Enums.DataType.DateTime">
|
||
|
<summary>
|
||
|
日期
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Enums.DataType.Bool">
|
||
|
<summary>
|
||
|
布尔值
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Enums.DataType.Enum">
|
||
|
<summary>
|
||
|
枚举
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.DirFileHelper">
|
||
|
<summary>
|
||
|
文件操作夹
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.IsExistDirectory(System.String)">
|
||
|
<summary>
|
||
|
检测指定目录是否存在
|
||
|
</summary>
|
||
|
<param name="directoryPath">目录的绝对路径</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.IsExistFile(System.String)">
|
||
|
<summary>
|
||
|
检测指定文件是否存在,如果存在则返回true。
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetFileNames(System.String)">
|
||
|
<summary>
|
||
|
获取指定目录中所有文件列表
|
||
|
</summary>
|
||
|
<param name="directoryPath">指定目录的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetDirectories(System.String)">
|
||
|
<summary>
|
||
|
获取指定目录中所有子目录列表,若要搜索嵌套的子目录列表,请使用重载方法.
|
||
|
</summary>
|
||
|
<param name="directoryPath">指定目录的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetFileNames(System.String,System.String,System.Boolean)">
|
||
|
<summary>
|
||
|
获取指定目录及子目录中所有文件列表
|
||
|
</summary>
|
||
|
<param name="directoryPath">指定目录的绝对路径</param>
|
||
|
<param name="searchPattern">模式字符串,"*"代表0或N个字符,"?"代表1个字符。
|
||
|
范例:"Log*.xml"表示搜索所有以Log开头的Xml文件。</param>
|
||
|
<param name="isSearchChild">是否搜索子目录</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.IsEmptyDirectory(System.String)">
|
||
|
<summary>
|
||
|
检测指定目录是否为空
|
||
|
</summary>
|
||
|
<param name="directoryPath">指定目录的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.Contains(System.String,System.String)">
|
||
|
<summary>
|
||
|
检测指定目录中是否存在指定的文件,若要搜索子目录请使用重载方法.
|
||
|
</summary>
|
||
|
<param name="directoryPath">指定目录的绝对路径</param>
|
||
|
<param name="searchPattern">模式字符串,"*"代表0或N个字符,"?"代表1个字符。
|
||
|
范例:"Log*.xml"表示搜索所有以Log开头的Xml文件。</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.Contains(System.String,System.String,System.Boolean)">
|
||
|
<summary>
|
||
|
检测指定目录中是否存在指定的文件
|
||
|
</summary>
|
||
|
<param name="directoryPath">指定目录的绝对路径</param>
|
||
|
<param name="searchPattern">模式字符串,"*"代表0或N个字符,"?"代表1个字符。
|
||
|
范例:"Log*.xml"表示搜索所有以Log开头的Xml文件。</param>
|
||
|
<param name="isSearchChild">是否搜索子目录</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.CreateDir(System.String)">
|
||
|
<summary>
|
||
|
创建目录
|
||
|
</summary>
|
||
|
<param name="dir">要创建的目录路径包括目录名</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.DeleteDir(System.String)">
|
||
|
<summary>
|
||
|
删除目录
|
||
|
</summary>
|
||
|
<param name="dir">要删除的目录路径和名称</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.DeleteFile(System.String)">
|
||
|
<summary>
|
||
|
删除文件
|
||
|
</summary>
|
||
|
<param name="file">要删除的文件路径和名称</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.CreateFile(System.String,System.String)">
|
||
|
<summary>
|
||
|
创建文件
|
||
|
</summary>
|
||
|
<param name="dir">带后缀的文件名</param>
|
||
|
<param name="pagestr">文件内容</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.CreateFileContent(System.String,System.String)">
|
||
|
<summary>
|
||
|
创建文件
|
||
|
</summary>
|
||
|
<param name="path">路径</param>
|
||
|
<param name="content">内容</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.MoveFile(System.String,System.String)">
|
||
|
<summary>
|
||
|
移动文件(剪贴--粘贴)
|
||
|
</summary>
|
||
|
<param name="dir1">要移动的文件的路径及全名(包括后缀)</param>
|
||
|
<param name="dir2">文件移动到新的位置,并指定新的文件名</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.CopyFile(System.String,System.String)">
|
||
|
<summary>
|
||
|
复制文件
|
||
|
</summary>
|
||
|
<param name="dir1">要复制的文件的路径已经全名(包括后缀)</param>
|
||
|
<param name="dir2">目标位置,并指定新的文件名</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetDateDir">
|
||
|
<summary>
|
||
|
根据时间得到目录名yyyyMMdd
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetDateFile">
|
||
|
<summary>
|
||
|
根据时间得到文件名HHmmssff
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetFilesByTime(System.String,System.String)">
|
||
|
<summary>
|
||
|
根据时间获取指定路径的 后缀名的 的所有文件
|
||
|
</summary>
|
||
|
<param name="path">文件路径</param>
|
||
|
<param name="Extension">后缀名 比如.txt</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.CopyFolder(System.String,System.String)">
|
||
|
<summary>
|
||
|
复制文件夹(递归)
|
||
|
</summary>
|
||
|
<param name="varFromDirectory">源文件夹路径</param>
|
||
|
<param name="varToDirectory">目标文件夹路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.ExistsFile(System.String)">
|
||
|
<summary>
|
||
|
检查文件,如果文件不存在则创建
|
||
|
</summary>
|
||
|
<param name="FilePath">路径,包括文件名</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.DeleteFolderFiles(System.String,System.String)">
|
||
|
<summary>
|
||
|
删除指定文件夹对应其他文件夹里的文件
|
||
|
</summary>
|
||
|
<param name="varFromDirectory">指定文件夹路径</param>
|
||
|
<param name="varToDirectory">对应其他文件夹路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetFileName(System.String)">
|
||
|
<summary>
|
||
|
从文件的绝对路径中获取文件名( 包含扩展名 )
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.CopyFiles(System.String,System.String)">
|
||
|
<summary>
|
||
|
复制文件参考方法,页面中引用
|
||
|
</summary>
|
||
|
<param name="cDir">新路径</param>
|
||
|
<param name="TempId">模板引擎替换编号</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.CreateDirectory(System.String)">
|
||
|
<summary>
|
||
|
创建一个目录
|
||
|
</summary>
|
||
|
<param name="directoryPath">目录的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.CreateFile(System.String)">
|
||
|
<summary>
|
||
|
创建一个文件。
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.CreateFile(System.String,System.Byte[])">
|
||
|
<summary>
|
||
|
创建一个文件,并将字节流写入文件。
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
<param name="buffer">二进制流数据</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetLineCount(System.String)">
|
||
|
<summary>
|
||
|
获取文本文件的行数
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetFileSize(System.String)">
|
||
|
<summary>
|
||
|
获取一个文件的长度,单位为Byte
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetDirectories(System.String,System.String,System.Boolean)">
|
||
|
<summary>
|
||
|
获取指定目录及子目录中所有子目录列表
|
||
|
</summary>
|
||
|
<param name="directoryPath">指定目录的绝对路径</param>
|
||
|
<param name="searchPattern">模式字符串,"*"代表0或N个字符,"?"代表1个字符。
|
||
|
范例:"Log*.xml"表示搜索所有以Log开头的Xml文件。</param>
|
||
|
<param name="isSearchChild">是否搜索子目录</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.WriteText(System.String,System.String,System.Text.Encoding)">
|
||
|
<summary>
|
||
|
向文本文件中写入内容
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
<param name="text">写入的内容</param>
|
||
|
<param name="encoding">编码</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.AppendText(System.String,System.String)">
|
||
|
<summary>
|
||
|
向文本文件的尾部追加内容
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
<param name="content">写入的内容</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.Copy(System.String,System.String)">
|
||
|
<summary>
|
||
|
将源文件的内容复制到目标文件中
|
||
|
</summary>
|
||
|
<param name="sourceFilePath">源文件的绝对路径</param>
|
||
|
<param name="destFilePath">目标文件的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.Move(System.String,System.String)">
|
||
|
<summary>
|
||
|
将文件移动到指定目录
|
||
|
</summary>
|
||
|
<param name="sourceFilePath">需要移动的源文件的绝对路径</param>
|
||
|
<param name="descDirectoryPath">移动到的目录的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetFileNameNoExtension(System.String)">
|
||
|
<summary>
|
||
|
从文件的绝对路径中获取文件名( 不包含扩展名 )
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.GetExtension(System.String)">
|
||
|
<summary>
|
||
|
从文件的绝对路径中获取扩展名
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.ClearDirectory(System.String)">
|
||
|
<summary>
|
||
|
清空指定目录下所有文件及子目录,但该目录依然保存.
|
||
|
</summary>
|
||
|
<param name="directoryPath">指定目录的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.ClearFile(System.String)">
|
||
|
<summary>
|
||
|
清空文件内容
|
||
|
</summary>
|
||
|
<param name="filePath">文件的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.DeleteDirectory(System.String)">
|
||
|
<summary>
|
||
|
删除指定目录及其所有子目录
|
||
|
</summary>
|
||
|
<param name="directoryPath">指定目录的绝对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DirFileHelper.MapPath(System.String)">
|
||
|
<summary>
|
||
|
本地路径
|
||
|
</summary>
|
||
|
<param name="path"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.FileDownHelper">
|
||
|
<summary>
|
||
|
文件下载类
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.FileDownHelper.FileNameExtension(System.String)">
|
||
|
<summary>
|
||
|
参数为虚拟路径
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.FileDownHelper.MapPathFile(System.String)">
|
||
|
<summary>
|
||
|
获取物理地址
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.FileDownHelper.FileExists(System.String)">
|
||
|
<summary>
|
||
|
验证文件是否存在
|
||
|
</summary>
|
||
|
<param name="FileName"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.FileDownHelper.DownLoadold(System.String,System.String)">
|
||
|
<summary>
|
||
|
普通下载
|
||
|
</summary>
|
||
|
<param name="FileName">文件虚拟路径</param>
|
||
|
/// <param name="name">返回客户端名称</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.FileDownHelper.DownLoad(System.String)">
|
||
|
<summary>
|
||
|
分块下载
|
||
|
</summary>
|
||
|
<param name="FileName">文件虚拟路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.FileDownHelper.ResponseFile(System.Web.HttpRequest,System.Web.HttpResponse,System.String,System.String,System.Int64)">
|
||
|
<summary>
|
||
|
输出硬盘文件,提供下载 支持大文件、续传、速度限制、资源占用小
|
||
|
</summary>
|
||
|
<param name="_Request">Page.Request对象</param>
|
||
|
<param name="_Response">Page.Response对象</param>
|
||
|
<param name="_fileName">下载文件名</param>
|
||
|
<param name="_fullPath">带文件名下载路径</param>
|
||
|
<param name="_speed">每秒允许下载的字节数</param>
|
||
|
<returns>返回是否成功</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.HttpMethods.HttpPost(System.String,System.String)">
|
||
|
<summary>
|
||
|
HTTP POST方式请求数据
|
||
|
</summary>
|
||
|
<param name="url">URL.</param>
|
||
|
<param name="param">POST的数据</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.HttpMethods.HttpPut(System.String,System.String)">
|
||
|
<summary>
|
||
|
HTTP Put方式请求数据.
|
||
|
</summary>
|
||
|
<param name="url">URL.</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.HttpMethods.HttpDelete(System.String,System.String)">
|
||
|
<summary>
|
||
|
HTTP Delete方式请求数据.
|
||
|
</summary>
|
||
|
<param name="url">URL.</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.HttpMethods.HttpGet(System.String,System.Collections.Hashtable)">
|
||
|
<summary>
|
||
|
HTTP GET方式请求数据.
|
||
|
</summary>
|
||
|
<param name="url">URL.</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.HttpMethods.HttpPost(System.String,System.Collections.Generic.IDictionary{System.Object,System.Object},System.Byte[])">
|
||
|
<summary>
|
||
|
HTTP POST方式请求数据(带图片)
|
||
|
</summary>
|
||
|
<param name="url">URL</param>
|
||
|
<param name="param">POST的数据</param>
|
||
|
<param name="fileByte">图片</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.HttpMethods.CreateHttpClient(System.String)">
|
||
|
<summary>
|
||
|
创建HttpClient
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.IPLocation.GetLocation(System.String)">
|
||
|
<summary>
|
||
|
获取IP地址信息
|
||
|
</summary>
|
||
|
<param name="ip"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.IPLocation.obj">
|
||
|
<summary>
|
||
|
百度接口
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.IPLocation.objex">
|
||
|
<summary>
|
||
|
聚合数据
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Json">
|
||
|
<summary>
|
||
|
Json操作
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Log.Logger">
|
||
|
<summary>
|
||
|
日志
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Log.LogFactory">
|
||
|
<summary>
|
||
|
日志初始化
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Log.LogFormat">
|
||
|
<summary>
|
||
|
日志格式器
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Log.LogFormat.ErrorFormat(EC.Util.Log.LogMessage)">
|
||
|
<summary>
|
||
|
生成错误
|
||
|
</summary>
|
||
|
<param name="logMessage">对象</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Log.LogFormat.WarnFormat(EC.Util.Log.LogMessage)">
|
||
|
<summary>
|
||
|
生成警告
|
||
|
</summary>
|
||
|
<param name="logMessage">对象</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Log.LogFormat.InfoFormat(EC.Util.Log.LogMessage)">
|
||
|
<summary>
|
||
|
生成信息
|
||
|
</summary>
|
||
|
<param name="logMessage">对象</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Log.LogFormat.DebugFormat(EC.Util.Log.LogMessage)">
|
||
|
<summary>
|
||
|
生成调试
|
||
|
</summary>
|
||
|
<param name="logMessage">对象</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Log.LogFormat.ExceptionFormat(EC.Util.Log.LogMessage)">
|
||
|
<summary>
|
||
|
生成异常信息
|
||
|
</summary>
|
||
|
<param name="logMessage">对象</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Log.LogLevel">
|
||
|
<summary>
|
||
|
日志级别
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Log.LogLevel.Error">
|
||
|
<summary>
|
||
|
错误
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Log.LogLevel.Warning">
|
||
|
<summary>
|
||
|
警告
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Log.LogLevel.Info">
|
||
|
<summary>
|
||
|
信息
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.Log.LogLevel.Debug">
|
||
|
<summary>
|
||
|
调试
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Log.LogMessage">
|
||
|
<summary>
|
||
|
日志消息
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.OperationTime">
|
||
|
<summary>
|
||
|
操作时间
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.Url">
|
||
|
<summary>
|
||
|
Url地址
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.Class">
|
||
|
<summary>
|
||
|
类名
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.Ip">
|
||
|
<summary>
|
||
|
IP
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.Host">
|
||
|
<summary>
|
||
|
主机
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.Browser">
|
||
|
<summary>
|
||
|
浏览器
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.UserName">
|
||
|
<summary>
|
||
|
操作人
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.Content">
|
||
|
<summary>
|
||
|
内容
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.ExceptionInfo">
|
||
|
<summary>
|
||
|
异常信息
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.ExceptionSource">
|
||
|
<summary>
|
||
|
异常来源
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Log.LogMessage.ExceptionRemark">
|
||
|
<summary>
|
||
|
异常信息备注
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.MailHelper">
|
||
|
<summary>
|
||
|
邮件帮助类
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.MailHelper.MailServer">
|
||
|
<summary>
|
||
|
邮件服务器地址
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.MailHelper.MailUserName">
|
||
|
<summary>
|
||
|
用户名
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.MailHelper.MailPassword">
|
||
|
<summary>
|
||
|
密码
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="F:EC.Util.MailHelper.MailName">
|
||
|
<summary>
|
||
|
名称
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.MailHelper.Send(System.String,System.String,System.String,System.String,System.Boolean,System.Boolean)">
|
||
|
<summary>
|
||
|
同步发送邮件
|
||
|
</summary>
|
||
|
<param name="to">收件人邮箱地址</param>
|
||
|
<param name="subject">主题</param>
|
||
|
<param name="body">内容</param>
|
||
|
<param name="encoding">编码</param>
|
||
|
<param name="isBodyHtml">是否Html</param>
|
||
|
<param name="enableSsl">是否SSL加密连接</param>
|
||
|
<returns>是否成功</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.MailHelper.SendByThread(System.String,System.String,System.String,System.Int32)">
|
||
|
<summary>
|
||
|
异步发送邮件 独立线程
|
||
|
</summary>
|
||
|
<param name="to">邮件接收人</param>
|
||
|
<param name="title">邮件标题</param>
|
||
|
<param name="body">邮件内容</param>
|
||
|
<param name="port">端口号</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.DataAccessException">
|
||
|
<summary>
|
||
|
数据访问层异常类,用于封装数据访问层引发的异常,以供 业务逻辑层 抓取
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DataAccessException.#ctor(System.String,System.Exception)">
|
||
|
<summary>
|
||
|
使用异常消息与一个内部异常实例化一个 类的新实例
|
||
|
</summary>
|
||
|
<param name="message">异常消息</param>
|
||
|
<param name="inner">用于封装在DalException内部的异常实例</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DataAccessException.ThrowBusinessException(System.Exception,System.String)">
|
||
|
<summary>
|
||
|
向调用层抛出数据访问层异常
|
||
|
</summary>
|
||
|
<param name="msg"> 自定义异常消息 </param>
|
||
|
<param name="e"> 实际引发异常的异常实例 </param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DataAccessException.ThrowDataAccessException(System.Exception,System.String)">
|
||
|
<summary>
|
||
|
向调用层抛出数据访问层异常
|
||
|
</summary>
|
||
|
<param name="msg"> 自定义异常消息 </param>
|
||
|
<param name="e"> 实际引发异常的异常实例 </param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DataAccessException.ThrowComponentException(System.Exception,System.String)">
|
||
|
<summary>
|
||
|
向调用层抛出组件异常
|
||
|
</summary>
|
||
|
<param name="msg"> 自定义异常消息 </param>
|
||
|
<param name="e"> 实际引发异常的异常实例 </param>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.ExceptionMessage">
|
||
|
<summary>
|
||
|
异常信息封装类
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ExceptionMessage.#ctor(System.Exception,System.String,System.Boolean)">
|
||
|
<summary>
|
||
|
以自定义用户信息和异常对象实例化一个异常信息对象
|
||
|
</summary>
|
||
|
<param name="e"> 异常对象 </param>
|
||
|
<param name="userMessage"> 自定义用户信息 </param>
|
||
|
<param name="isHideStackTrace"> 是否隐藏异常堆栈信息 </param>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.ExceptionMessage.UserMessage">
|
||
|
<summary>
|
||
|
用户信息,用于报告给用户的异常消息
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.ExceptionMessage.ExMessage">
|
||
|
<summary>
|
||
|
直接的Exception异常信息,即e.Message属性值
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.ExceptionMessage.ErrorDetails">
|
||
|
<summary>
|
||
|
异常输出的详细描述,包含异常消息,规模信息,异常类型,异常源,引发异常的方法及内部异常信息
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ExceptionMessage.GetSqlExceptionMessage(System.Int32)">
|
||
|
<summary>
|
||
|
由错误码返回指定的自定义SqlException异常信息
|
||
|
</summary>
|
||
|
<param name="number"> </param>
|
||
|
<returns> </returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Net">
|
||
|
<summary>
|
||
|
网络操作
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Net.Ip">
|
||
|
<summary>
|
||
|
获取Ip
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Net.GetWebClientIp">
|
||
|
<summary>
|
||
|
获取Web客户端的Ip
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Net.GetWebRemoteIp">
|
||
|
<summary>
|
||
|
获取Web远程Ip
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Net.GetLanIp">
|
||
|
<summary>
|
||
|
获取局域网IP
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Net.Host">
|
||
|
<summary>
|
||
|
获取主机名
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Net.GetWebClientHostName">
|
||
|
<summary>
|
||
|
获取Web客户端主机名
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Net.Browser">
|
||
|
<summary>
|
||
|
获取浏览器信息
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.DESEncrypt">
|
||
|
<summary>
|
||
|
加密、解密帮助类
|
||
|
版本:2.0
|
||
|
<author>
|
||
|
<name>shecixiong</name>
|
||
|
<date>2013.09.27</date>
|
||
|
</author>
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DESEncrypt.Encrypt(System.String)">
|
||
|
<summary>
|
||
|
加密
|
||
|
</summary>
|
||
|
<param name="Text"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DESEncrypt.Encrypt(System.String,System.String)">
|
||
|
<summary>
|
||
|
加密数据
|
||
|
</summary>
|
||
|
<param name="Text"></param>
|
||
|
<param name="sKey"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DESEncrypt.Decrypt(System.String)">
|
||
|
<summary>
|
||
|
解密
|
||
|
</summary>
|
||
|
<param name="Text"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.DESEncrypt.Decrypt(System.String,System.String)">
|
||
|
<summary>
|
||
|
解密数据
|
||
|
</summary>
|
||
|
<param name="Text"></param>
|
||
|
<param name="sKey"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Md5Helper">
|
||
|
<summary>
|
||
|
MD5加密帮助类
|
||
|
版本:2.0
|
||
|
<author>
|
||
|
<name>shecixiong</name>
|
||
|
<date>2013.09.27</date>
|
||
|
</author>
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Md5Helper.MD5(System.String,System.Int32)">
|
||
|
<summary>
|
||
|
MD5加密
|
||
|
</summary>
|
||
|
<param name="str">加密字符</param>
|
||
|
<param name="code">加密位数16/32</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Security.RSAHelper.GetKeyPair">
|
||
|
<summary>
|
||
|
生成一对公钥和私钥
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Security.RSAHelper.RSAEncrypt(System.String,System.String)">
|
||
|
<summary>
|
||
|
RSA加密
|
||
|
</summary>
|
||
|
<param name="xmlPublicKey">公钥</param>
|
||
|
<param name="m_strEncryptString"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Security.RSAHelper.RSADecrypt(System.String,System.String)">
|
||
|
<summary>
|
||
|
RSA解密
|
||
|
</summary>
|
||
|
<param name="xmlPrivateKey">私钥</param>
|
||
|
<param name="m_strDecryptString"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Security.RSAXMLHelper.GetKeyPair">
|
||
|
<summary>
|
||
|
生成一对公钥和私钥
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Security.RSAXMLHelper.RSAEncrypt(System.String,System.String)">
|
||
|
<summary>
|
||
|
RSA加密
|
||
|
</summary>
|
||
|
<param name="xmlPublicKey">公钥</param>
|
||
|
<param name="m_strEncryptString"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Security.RSAXMLHelper.RSADecrypt(System.String,System.String)">
|
||
|
<summary>
|
||
|
RSA解密
|
||
|
</summary>
|
||
|
<param name="xmlPrivateKey">私钥</param>
|
||
|
<param name="m_strDecryptString"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Serialize">
|
||
|
<summary>
|
||
|
序列化操作
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Serialize.ToBytes(System.Object)">
|
||
|
<summary>
|
||
|
将对象序列化到字节流中
|
||
|
</summary>
|
||
|
<param name="instance">对象</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Serialize.FromBytes``1(System.Byte[])">
|
||
|
<summary>
|
||
|
将字节流反序列化为对象
|
||
|
</summary>
|
||
|
<typeparam name="T">对象类名</typeparam>
|
||
|
<param name="buffer">字节流</param>
|
||
|
</member>
|
||
|
<!-- 对于成员“M:EC.Util.SmsHelper.SendSmsByJM(EC.Util.SmsModel)”忽略有格式错误的 XML 注释 -->
|
||
|
<member name="T:EC.Util.SmsModel">
|
||
|
<summary>
|
||
|
短息发送接口模型
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.SmsModel.account">
|
||
|
<summary>
|
||
|
账号
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.SmsModel.pswd">
|
||
|
<summary>
|
||
|
密码
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.SmsModel.url">
|
||
|
<summary>
|
||
|
短信接口地址
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.SmsModel.mobile">
|
||
|
<summary>
|
||
|
电话
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.SmsModel.msg">
|
||
|
<summary>
|
||
|
短信内容
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.SmsModel.needstatus">
|
||
|
<summary>
|
||
|
是否需要状态报告,默认为false
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.SmsModel.product">
|
||
|
<summary>
|
||
|
产品id(可不填)
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Str">
|
||
|
<summary>
|
||
|
字符串操作 - 工具方法
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Str.Empty">
|
||
|
<summary>
|
||
|
空字符串
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.PinYin(System.String)">
|
||
|
<summary>
|
||
|
获取汉字的拼音简码,即首字母缩写,范例:中国,返回zg
|
||
|
</summary>
|
||
|
<param name="chineseText">汉字文本,范例: 中国</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.ResolvePinYin(System.Char)">
|
||
|
<summary>
|
||
|
解析单个汉字的拼音简码
|
||
|
</summary>
|
||
|
<param name="text">单个汉字</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.ResolvePinYinByCode(System.UInt16)">
|
||
|
<summary>
|
||
|
使用字符编码方式获取拼音简码
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.ResolvePinYinByFile(System.String)">
|
||
|
<summary>
|
||
|
从拼音简码文件获取
|
||
|
</summary>
|
||
|
<param name="text">单个汉字</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.Splice``1(System.Collections.Generic.IEnumerable{``0},System.String,System.String)">
|
||
|
<summary>
|
||
|
拼接集合元素
|
||
|
</summary>
|
||
|
<typeparam name="T">集合元素类型</typeparam>
|
||
|
<param name="list">集合</param>
|
||
|
<param name="quotes">引号,默认不带引号,范例:单引号 "'"</param>
|
||
|
<param name="separator">分隔符,默认使用逗号分隔</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.FirstUpper(System.String)">
|
||
|
<summary>
|
||
|
将值的首字母大写
|
||
|
</summary>
|
||
|
<param name="value">值</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.ToCamel(System.String)">
|
||
|
<summary>
|
||
|
将字符串转成驼峰形式
|
||
|
</summary>
|
||
|
<param name="value">原始字符串</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.ContainsChinese(System.String)">
|
||
|
<summary>
|
||
|
是否包含中文
|
||
|
</summary>
|
||
|
<param name="text">文本</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.ContainsNumber(System.String)">
|
||
|
<summary>
|
||
|
是否包含数字
|
||
|
</summary>
|
||
|
<param name="text">文本</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.Distinct(System.String)">
|
||
|
<summary>
|
||
|
去除重复
|
||
|
</summary>
|
||
|
<param name="value">值,范例1:"5555",返回"5",范例2:"4545",返回"45"</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.Truncate(System.String,System.Int32,System.Int32,System.String)">
|
||
|
<summary>
|
||
|
截断字符串
|
||
|
</summary>
|
||
|
<param name="text">文本</param>
|
||
|
<param name="length">返回长度</param>
|
||
|
<param name="endCharCount">添加结束符号的个数,默认0,不添加</param>
|
||
|
<param name="endChar">结束符号,默认为省略号</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.GetEndString(System.Int32,System.String)">
|
||
|
<summary>
|
||
|
获取结束字符串
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.ToSimplifiedChinese(System.String)">
|
||
|
<summary>
|
||
|
转换为简体中文
|
||
|
</summary>
|
||
|
<param name="text">繁体中文</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.ToTraditionalChinese(System.String)">
|
||
|
<summary>
|
||
|
转换为繁体中文
|
||
|
</summary>
|
||
|
<param name="text">简体中文</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.Unique">
|
||
|
<summary>
|
||
|
获取全局唯一值
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Str.GetLastProperty(System.String)">
|
||
|
<summary>
|
||
|
获取最后一个属性
|
||
|
</summary>
|
||
|
<param name="propertyName">属性名,范例,A.B.C,返回"C"</param>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Sys">
|
||
|
<summary>
|
||
|
系统操作
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Sys.Line">
|
||
|
<summary>
|
||
|
换行符
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Sys.Guid">
|
||
|
<summary>
|
||
|
Guid
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Sys.GetType``1">
|
||
|
<summary>
|
||
|
获取类型,对可空类型进行处理
|
||
|
</summary>
|
||
|
<typeparam name="T">类型</typeparam>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Sys.GetPhysicalPath(System.String)">
|
||
|
<summary>
|
||
|
获取物理路径
|
||
|
</summary>
|
||
|
<param name="relativePath">相对路径</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Sys.StartProcess(System.String)">
|
||
|
<summary>
|
||
|
启动进程
|
||
|
</summary>
|
||
|
<param name="processName">进程名称</param>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.Time">
|
||
|
<summary>
|
||
|
时间操作
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Time.Now">
|
||
|
<summary>
|
||
|
当前时间
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Time.ShortDate">
|
||
|
<summary>
|
||
|
短日期格式(yyyy/MM/dd)
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Time.LongDate">
|
||
|
<summary>
|
||
|
长日期格式(yyyy月MM日dd日)
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Time.ShortDateTime">
|
||
|
<summary>
|
||
|
日期时间(yyyy/MM/dd HH:mm)
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Time.LongDateTime">
|
||
|
<summary>
|
||
|
日期时间(yyyy年MM月dd日 HH时mm分)
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Time.LongTime">
|
||
|
<summary>
|
||
|
日期时间(yyyy年MM月dd日 HH时mm分)
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.Time.ShortTime">
|
||
|
<summary>
|
||
|
日期时间(yyyy年MM月dd日 HH时mm分)
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetToday">
|
||
|
<summary>
|
||
|
当前日期
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetToday(System.String)">
|
||
|
<summary>
|
||
|
当前日期自定义格式
|
||
|
</summary>
|
||
|
<param name="format"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetDate(System.Int32)">
|
||
|
<summary>
|
||
|
当前日期 加添加,减天数 -1、1
|
||
|
</summary>
|
||
|
<param name="i"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetDate(System.Int32,System.String)">
|
||
|
<summary>
|
||
|
当前日期 加添加,减天数 -1、1
|
||
|
</summary>
|
||
|
<param name="i"></param>
|
||
|
<param name="dateformat">返回的时间格式</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetDaysOfYear(System.Int32)">
|
||
|
<summary>返回本年有多少天</summary>
|
||
|
<param name="iYear">年份</param>
|
||
|
<returns>本年的天数</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetDaysOfYear(System.DateTime)">
|
||
|
<summary>本年有多少天</summary>
|
||
|
<param name="dt">日期</param>
|
||
|
<returns>本天在当年的天数</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetDaysOfMonth(System.Int32,System.Int32)">
|
||
|
<summary>本月有多少天</summary>
|
||
|
<param name="iYear">年</param>
|
||
|
<param name="Month">月</param>
|
||
|
<returns>天数</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetDaysOfMonth(System.DateTime)">
|
||
|
<summary>本月有多少天</summary>
|
||
|
<param name="dt">日期</param>
|
||
|
<returns>天数</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetWeekNameOfDay(System.DateTime)">
|
||
|
<summary>返回当前日期的星期名称</summary>
|
||
|
<param name="dt">日期</param>
|
||
|
<returns>星期名称</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetWeekNumberOfDay(System.DateTime)">
|
||
|
<summary>返回当前日期的星期编号</summary>
|
||
|
<param name="dt">日期</param>
|
||
|
<returns>星期数字编号</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetWeekAmount(System.Int32)">
|
||
|
<summary>
|
||
|
获取某一年有多少周
|
||
|
</summary>
|
||
|
<param name="year">年份</param>
|
||
|
<returns>该年周数</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.GetWeekOfYear(System.DateTime)">
|
||
|
<summary>
|
||
|
获取某一日期是该年中的第几周
|
||
|
</summary>
|
||
|
<param name="dt">日期</param>
|
||
|
<returns>该日期在该年中的周数</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.WeekRange(System.Int32,System.Int32,System.DateTime@,System.DateTime@)">
|
||
|
<summary>
|
||
|
根据某年的第几周获取这周的起止日期
|
||
|
</summary>
|
||
|
<param name="year"></param>
|
||
|
<param name="weekOrder"></param>
|
||
|
<param name="firstDate"></param>
|
||
|
<param name="lastDate"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.DiffDays(System.DateTime,System.DateTime)">
|
||
|
<summary>
|
||
|
返回两个日期之间相差的天数
|
||
|
</summary>
|
||
|
<param name="dtfrm">两个日期参数</param>
|
||
|
<param name="dtto">两个日期参数</param>
|
||
|
<returns>天数</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.DiffHours(System.DateTime,System.DateTime)">
|
||
|
<summary>
|
||
|
返回两个日期之间相差的小时数
|
||
|
</summary>
|
||
|
<param name="dtfrm">两个日期参数</param>
|
||
|
<param name="dtto">两个日期参数</param>
|
||
|
<returns>小时数</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.DiffMinutes(System.DateTime,System.DateTime)">
|
||
|
<summary>
|
||
|
返回两个日期之间相差的分钟数
|
||
|
</summary>
|
||
|
<param name="dtfrm">两个日期参数</param>
|
||
|
<param name="dtto">两个日期参数</param>
|
||
|
<returns>分钟数</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.IsRuYear(System.Int32)">
|
||
|
<summary>判断当前年份是否是闰年,私有函数</summary>
|
||
|
<param name="iYear">年份</param>
|
||
|
<returns>是闰年:True ,不是闰年:False</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.ToDate(System.String)">
|
||
|
<summary>
|
||
|
将输入的字符串转化为日期。如果字符串的格式非法,则返回当前日期。
|
||
|
</summary>
|
||
|
<param name="strInput">输入字符串</param>
|
||
|
<returns>日期对象</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.Time.ToString(System.DateTime,System.String)">
|
||
|
<summary>
|
||
|
将日期对象转化为格式字符串
|
||
|
</summary>
|
||
|
<param name="oDateTime">日期对象</param>
|
||
|
<param name="strFormat">
|
||
|
格式:
|
||
|
"SHORTDATE"===短日期
|
||
|
"LONGDATE"==长日期
|
||
|
其它====自定义格式
|
||
|
</param>
|
||
|
<returns>日期字符串</returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.ValidateUtil">
|
||
|
<summary>
|
||
|
各种输入格式验证辅助类
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.GetStringLength(System.String)">
|
||
|
<summary>
|
||
|
返回字符串真实长度, 1个汉字长度为2
|
||
|
</summary>
|
||
|
<returns>字符长度</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsValidUserName(System.String)">
|
||
|
<summary>
|
||
|
检测用户名格式是否有效
|
||
|
</summary>
|
||
|
<param name="userName"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsValidPassword(System.String)">
|
||
|
<summary>
|
||
|
密码有效性
|
||
|
</summary>
|
||
|
<param name="password"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsValidInt(System.String)">
|
||
|
<summary>
|
||
|
int有效性
|
||
|
</summary>
|
||
|
<param name="val"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsNumber(System.String)">
|
||
|
<summary>
|
||
|
是否数字字符串
|
||
|
</summary>
|
||
|
<param name="inputData">输入字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsNumberSign(System.String)">
|
||
|
<summary>
|
||
|
是否数字字符串 可带正负号
|
||
|
</summary>
|
||
|
<param name="inputData">输入字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsDecimal(System.String)">
|
||
|
<summary>
|
||
|
是否是浮点数
|
||
|
</summary>
|
||
|
<param name="inputData">输入字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsDecimalSign(System.String)">
|
||
|
<summary>
|
||
|
是否是浮点数 可带正负号
|
||
|
</summary>
|
||
|
<param name="inputData">输入字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsHasCHZN(System.String)">
|
||
|
<summary>
|
||
|
检测是否有中文字符
|
||
|
</summary>
|
||
|
<param name="inputData"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.GetCHZNLength(System.String)">
|
||
|
<summary>
|
||
|
检测含有中文字符串的实际长度
|
||
|
</summary>
|
||
|
<param name="str">字符串</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsIdCard(System.String)">
|
||
|
<summary>
|
||
|
验证身份证是否合法 15 和 18位两种
|
||
|
</summary>
|
||
|
<param name="idCard">要验证的身份证</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsEmail(System.String)">
|
||
|
<summary>
|
||
|
是否是邮件地址
|
||
|
</summary>
|
||
|
<param name="inputData">输入字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsValidZip(System.String)">
|
||
|
<summary>
|
||
|
邮编有效性
|
||
|
</summary>
|
||
|
<param name="zip"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsValidPhone(System.String)">
|
||
|
<summary>
|
||
|
固定电话有效性
|
||
|
</summary>
|
||
|
<param name="phone"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsValidMobile(System.String)">
|
||
|
<summary>
|
||
|
手机有效性
|
||
|
</summary>
|
||
|
<param name="strMobile"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsValidPhoneAndMobile(System.String)">
|
||
|
<summary>
|
||
|
电话有效性(固话和手机 )
|
||
|
</summary>
|
||
|
<param name="strVla"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsValidURL(System.String)">
|
||
|
<summary>
|
||
|
Url有效性
|
||
|
</summary>
|
||
|
<param name="url"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsValidIP(System.String)">
|
||
|
<summary>
|
||
|
IP有效性
|
||
|
</summary>
|
||
|
<param name="ip"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsValidDomain(System.String)">
|
||
|
<summary>
|
||
|
domain 有效性
|
||
|
</summary>
|
||
|
<param name="host">域名</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsBase64String(System.String)">
|
||
|
<summary>
|
||
|
判断是否为base64字符串
|
||
|
</summary>
|
||
|
<param name="str"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsGuid(System.String)">
|
||
|
<summary>
|
||
|
验证字符串是否是GUID
|
||
|
</summary>
|
||
|
<param name="guid">字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsDate(System.String)">
|
||
|
<summary>
|
||
|
判断输入的字符是否为日期
|
||
|
</summary>
|
||
|
<param name="strValue"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.IsDateHourMinute(System.String)">
|
||
|
<summary>
|
||
|
判断输入的字符是否为日期,如2004-07-12 14:25|||1900-01-01 00:00|||9999-12-31 23:59
|
||
|
</summary>
|
||
|
<param name="strValue"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.CheckMathLength(System.String,System.Int32)">
|
||
|
<summary>
|
||
|
检查字符串最大长度,返回指定长度的串
|
||
|
</summary>
|
||
|
<param name="sqlInput">输入字符串</param>
|
||
|
<param name="maxLength">最大长度</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.Encode(System.String)">
|
||
|
<summary>
|
||
|
转换成 HTML code
|
||
|
</summary>
|
||
|
<param name="str">string</param>
|
||
|
<returns>string</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.ValidateUtil.Decode(System.String)">
|
||
|
<summary>
|
||
|
解析html成 普通文本
|
||
|
</summary>
|
||
|
<param name="str">string</param>
|
||
|
<returns>string</returns>
|
||
|
</member>
|
||
|
<member name="T:EC.Util.WebHelper">
|
||
|
<summary>
|
||
|
Web操作
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="P:EC.Util.WebHelper.Host">
|
||
|
<summary>
|
||
|
获取主机名,即域名,
|
||
|
范例:用户输入网址http://www.a.com/b.htm?a=1&b=2,
|
||
|
返回值为: www.a.com
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.ResolveUrl(System.String)">
|
||
|
<summary>
|
||
|
解析相对Url
|
||
|
</summary>
|
||
|
<param name="relativeUrl">相对Url</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.HtmlEncode(System.String)">
|
||
|
<summary>
|
||
|
对html字符串进行编码
|
||
|
</summary>
|
||
|
<param name="html">html字符串</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.HtmlDecode(System.String)">
|
||
|
<summary>
|
||
|
对html字符串进行解码
|
||
|
</summary>
|
||
|
<param name="html">html字符串</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.UrlEncode(System.String,System.Boolean)">
|
||
|
<summary>
|
||
|
对Url进行编码
|
||
|
</summary>
|
||
|
<param name="url">url</param>
|
||
|
<param name="isUpper">编码字符是否转成大写,范例,"http://"转成"http%3A%2F%2F"</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.UrlEncode(System.String,System.Text.Encoding,System.Boolean)">
|
||
|
<summary>
|
||
|
对Url进行编码
|
||
|
</summary>
|
||
|
<param name="url">url</param>
|
||
|
<param name="encoding">字符编码</param>
|
||
|
<param name="isUpper">编码字符是否转成大写,范例,"http://"转成"http%3A%2F%2F"</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.GetUpperEncode(System.String)">
|
||
|
<summary>
|
||
|
获取大写编码字符串
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.UrlDecode(System.String)">
|
||
|
<summary>
|
||
|
对Url进行解码,对于javascript的encodeURIComponent函数编码参数,应使用utf-8字符编码来解码
|
||
|
</summary>
|
||
|
<param name="url">url</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.UrlDecode(System.String,System.Text.Encoding)">
|
||
|
<summary>
|
||
|
对Url进行解码,对于javascript的encodeURIComponent函数编码参数,应使用utf-8字符编码来解码
|
||
|
</summary>
|
||
|
<param name="url">url</param>
|
||
|
<param name="encoding">字符编码,对于javascript的encodeURIComponent函数编码参数,应使用utf-8字符编码来解码</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.WriteSession``1(System.String,``0)">
|
||
|
<summary>
|
||
|
写Session
|
||
|
</summary>
|
||
|
<typeparam name="T">Session键值的类型</typeparam>
|
||
|
<param name="key">Session的键名</param>
|
||
|
<param name="value">Session的键值</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.WriteSession(System.String,System.String)">
|
||
|
<summary>
|
||
|
写Session
|
||
|
</summary>
|
||
|
<param name="key">Session的键名</param>
|
||
|
<param name="value">Session的键值</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.GetSession(System.String)">
|
||
|
<summary>
|
||
|
读取Session的值
|
||
|
</summary>
|
||
|
<param name="key">Session的键名</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.RemoveSession(System.String)">
|
||
|
<summary>
|
||
|
删除指定Session
|
||
|
</summary>
|
||
|
<param name="key">Session的键名</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.WriteCookie(System.String,System.String)">
|
||
|
<summary>
|
||
|
写cookie值
|
||
|
</summary>
|
||
|
<param name="strName">名称</param>
|
||
|
<param name="strValue">值</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.WriteCookie(System.String,System.String,System.Int32)">
|
||
|
<summary>
|
||
|
写cookie值
|
||
|
</summary>
|
||
|
<param name="strName">名称</param>
|
||
|
<param name="strValue">值</param>
|
||
|
<param name="strValue">过期时间(分钟)</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.GetCookie(System.String)">
|
||
|
<summary>
|
||
|
读cookie值
|
||
|
</summary>
|
||
|
<param name="strName">名称</param>
|
||
|
<returns>cookie值</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.RemoveCookie(System.String)">
|
||
|
<summary>
|
||
|
删除Cookie对象
|
||
|
</summary>
|
||
|
<param name="CookiesName">Cookie对象名称</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.GetFileControls">
|
||
|
<summary>
|
||
|
获取有效客户端文件控件集合,文件控件必须上传了内容,为空将被忽略,
|
||
|
注意:Form标记必须加入属性 enctype="multipart/form-data",服务器端才能获取客户端file控件.
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.GetFileControl">
|
||
|
<summary>
|
||
|
获取第一个有效客户端文件控件,文件控件必须上传了内容,为空将被忽略,
|
||
|
注意:Form标记必须加入属性 enctype="multipart/form-data",服务器端才能获取客户端file控件.
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.HttpWebRequest(System.String)">
|
||
|
<summary>
|
||
|
请求网络资源,返回响应的文本
|
||
|
</summary>
|
||
|
<param name="url">网络资源地址</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.HttpWebRequest(System.String,System.String)">
|
||
|
<summary>
|
||
|
请求网络资源,返回响应的文本
|
||
|
</summary>
|
||
|
<param name="url">网络资源Url地址</param>
|
||
|
<param name="parameters">提交的参数,格式:参数1=参数值1&参数2=参数值2</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.HttpWebRequest(System.String,System.String,System.Text.Encoding,System.Boolean,System.String,System.Net.CookieContainer,System.Int32)">
|
||
|
<summary>
|
||
|
请求网络资源,返回响应的文本
|
||
|
</summary>
|
||
|
<param name="url">网络资源地址</param>
|
||
|
<param name="parameters">提交的参数,格式:参数1=参数值1&参数2=参数值2</param>
|
||
|
<param name="encoding">字符编码</param>
|
||
|
<param name="isPost">是否Post提交</param>
|
||
|
<param name="contentType">内容类型</param>
|
||
|
<param name="cookie">Cookie容器</param>
|
||
|
<param name="timeout">超时时间</param>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.NoHtml(System.String)">
|
||
|
<summary>
|
||
|
去除HTML标记
|
||
|
</summary>
|
||
|
<param name="NoHTML">包括HTML的源码 </param>
|
||
|
<returns>已经去除后的文字</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.WebHelper.Formatstr(System.String)">
|
||
|
<summary>
|
||
|
格式化文本(防止SQL注入)
|
||
|
</summary>
|
||
|
<param name="str"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.XmlHelper.Deserialize(System.Type,System.String)">
|
||
|
<summary>
|
||
|
反序列化
|
||
|
</summary>
|
||
|
<param name="type">类型</param>
|
||
|
<param name="xml">XML字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.XmlHelper.Deserialize(System.Type,System.IO.Stream)">
|
||
|
<summary>
|
||
|
反序列化
|
||
|
</summary>
|
||
|
<param name="type"></param>
|
||
|
<param name="xml"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.XmlHelper.Serializer(System.Type,System.Object)">
|
||
|
<summary>
|
||
|
序列化XML文件
|
||
|
</summary>
|
||
|
<param name="type">类型</param>
|
||
|
<param name="obj">对象</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.XmlHelper.XmlAnalysisArray">
|
||
|
<summary>
|
||
|
将XML转换为DATATABLE
|
||
|
</summary>
|
||
|
<param name="FileURL"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.XmlHelper.XmlAnalysisArray(System.String)">
|
||
|
<summary>
|
||
|
将XML转换为DATATABLE
|
||
|
</summary>
|
||
|
<param name="FileURL"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Util.XmlHelper.XmlAnalysis(System.String,System.String)">
|
||
|
<summary>
|
||
|
摘要:获取对应XML节点的值
|
||
|
</summary>
|
||
|
<param name="stringRoot">XML节点的标记</param>
|
||
|
<returns>返回获取对应XML节点的值</returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Encrypt.RSAHelper1.GetKeyPair2">
|
||
|
<summary>
|
||
|
生成一对公钥和私钥
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Encrypt.RSAHelper1.GetKeyPair1">
|
||
|
<summary>
|
||
|
生成一对公钥和私钥
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Encrypt.RSAHelper1.RSAEncrypt(System.String,System.String)">
|
||
|
<summary>
|
||
|
RSA加密
|
||
|
</summary>
|
||
|
<param name="xmlPublicKey">公钥</param>
|
||
|
<param name="m_strEncryptString"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:EC.Encrypt.RSAHelper1.RSADecrypt(System.String,System.String)">
|
||
|
<summary>
|
||
|
RSA解密
|
||
|
</summary>
|
||
|
<param name="xmlPrivateKey">私钥</param>
|
||
|
<param name="m_strDecryptString"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.ChinaDate.GetChinaDate(System.DateTime)">
|
||
|
<summary>
|
||
|
获取农历
|
||
|
</summary>
|
||
|
<param name="dt"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.ChinaDate.GetYear(System.DateTime)">
|
||
|
<summary>
|
||
|
获取农历年份
|
||
|
</summary>
|
||
|
<param name="dt"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.ChinaDate.GetMonth(System.DateTime)">
|
||
|
<summary>
|
||
|
获取农历月份
|
||
|
</summary>
|
||
|
<param name="dt"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.ChinaDate.GetDay(System.DateTime)">
|
||
|
<summary>
|
||
|
获取农历日期
|
||
|
</summary>
|
||
|
<param name="dt"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.ChinaDate.GetSolarTerm(System.DateTime)">
|
||
|
<summary>
|
||
|
获取节气
|
||
|
</summary>
|
||
|
<param name="dt"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.ChinaDate.GetHoliday(System.DateTime)">
|
||
|
<summary>
|
||
|
获取公历节日
|
||
|
</summary>
|
||
|
<param name="dt"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.ChinaDate.GetChinaHoliday(System.DateTime)">
|
||
|
<summary>
|
||
|
获取农历节日
|
||
|
</summary>
|
||
|
<param name="dt"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:System.DateUnit">
|
||
|
<summary>
|
||
|
日期时间操作单元
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.InitDate">
|
||
|
<summary>
|
||
|
1970-1-1
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.DefDate">
|
||
|
<summary>
|
||
|
默认当前日期
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.DefFormatDate">
|
||
|
<summary>
|
||
|
格式化后的当前日期
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.DefFormatDateTime">
|
||
|
<summary>
|
||
|
格式化当前时间
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.DefMonthBegFormat">
|
||
|
<summary>
|
||
|
格式化后的 当前月1号 日期格式yyyy-MM-01
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.FormatDate(System.String)">
|
||
|
<summary>
|
||
|
字符串格式->格式化为当前日期
|
||
|
</summary>
|
||
|
<param name="Indate"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.FormatDate(System.DateTime)">
|
||
|
<summary>
|
||
|
格式化为 日期格式yyyy-MM-dd
|
||
|
</summary>
|
||
|
<param name="Indate"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.FormatDateTime(System.DateTime)">
|
||
|
<summary>
|
||
|
格式化为 日期时间格式yyyy-MM-dd HH:mm:ss
|
||
|
</summary>
|
||
|
<param name="Indate"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.FormatDateTimefff(System.DateTime)">
|
||
|
<summary>
|
||
|
格式化时间 毫秒
|
||
|
</summary>
|
||
|
<param name="Indate"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.IsDate(System.String)">
|
||
|
<summary>
|
||
|
是不是时间格式
|
||
|
</summary>
|
||
|
<param name="datetm"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.ToDate(System.String)">
|
||
|
<summary>
|
||
|
将字符串转化成日期,如果输入的字符串不是日期时,则返回1970-1-1
|
||
|
</summary>
|
||
|
<param name="str"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.ToDate(System.Object)">
|
||
|
<summary>
|
||
|
将对象转化成日期,如果输入的对象不是日期时,则返回1970-1-1
|
||
|
</summary>
|
||
|
<param name="obj"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.ToDate(System.Nullable{System.DateTime})">
|
||
|
<summary>
|
||
|
将对象转化成日期,如果输入的对象不是日期时,则返回1900-1-1
|
||
|
</summary>
|
||
|
<param name="obj"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.StrTodate(System.String)">
|
||
|
<summary>
|
||
|
20070101-->2007-01-01
|
||
|
</summary>
|
||
|
<param name="Str"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.DayOfWeek(System.DateTime)">
|
||
|
<summary>
|
||
|
周几
|
||
|
</summary>
|
||
|
<param name="curDay"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.WeekOfYear(System.DateTime)">
|
||
|
<summary>
|
||
|
第几周
|
||
|
</summary>
|
||
|
<param name="curDay"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.GetMonthLastDate(System.Int32,System.Int32)">
|
||
|
<summary>
|
||
|
返回某年某月最后一天
|
||
|
</summary>
|
||
|
<param name="year">年份</param>
|
||
|
<param name="month">月份</param>
|
||
|
<returns>日</returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.DateDiffSeconds(System.DateTime,System.DateTime)">
|
||
|
<summary>
|
||
|
返回时间差 秒
|
||
|
</summary>
|
||
|
<param name="begDateTime"></param>
|
||
|
<param name="endDateTime"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.DateDiffMinutes(System.DateTime,System.DateTime)">
|
||
|
<summary>
|
||
|
返回时间差 分钟
|
||
|
</summary>
|
||
|
<param name="begDateTime"></param>
|
||
|
<param name="endDateTime"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.UnixTime">
|
||
|
<summary>
|
||
|
Unix时间戳
|
||
|
</summary>
|
||
|
<returns>毫秒</returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.DateTimeToUnixTime(System.DateTime)">
|
||
|
<summary>
|
||
|
将c# DateTime时间格式转换为Unix时间戳格式
|
||
|
</summary>
|
||
|
<param name="time">时间</param>
|
||
|
<returns> 毫秒</returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.UnixTimeToDateTime(System.Int64)">
|
||
|
<summary>
|
||
|
时间戳转为C#格式时间
|
||
|
</summary>
|
||
|
<param name="timeStamp"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.FormatDateUnixTime(System.Int64)">
|
||
|
<summary>
|
||
|
Unix时间戳 时间格式化 为日期
|
||
|
</summary>
|
||
|
<param name="timeStamp"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.DateUnit.FormatDateTimeUnixTime(System.Int64)">
|
||
|
<summary>
|
||
|
Unix时间戳 时间格式化 为时间
|
||
|
</summary>
|
||
|
<param name="timeStamp"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:System.FileUnit">
|
||
|
<summary>
|
||
|
文件操作单元
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.FileUnit.CreateDir(System.String)">
|
||
|
<summary>
|
||
|
创建目录
|
||
|
</summary>
|
||
|
<param name="fullPath"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FileUnit.GetFileName(System.String)">
|
||
|
<summary>
|
||
|
得到文件名称
|
||
|
</summary>
|
||
|
<param name="fullPath"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FileUnit.GetFileExt(System.String)">
|
||
|
<summary>
|
||
|
得到扩展名
|
||
|
</summary>
|
||
|
<param name="fullPath"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FileUnit.GetFileNameNoExt(System.String)">
|
||
|
<summary>
|
||
|
得到名称没有扩展名
|
||
|
</summary>
|
||
|
<param name="fullPath"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FileUnit.CopyFile(System.String,System.String)">
|
||
|
<summary>
|
||
|
复制文件
|
||
|
</summary>
|
||
|
<param name="sourceFileName"></param>
|
||
|
<param name="destFileName"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FileUnit.GetPathNoExt(System.String)">
|
||
|
<summary>
|
||
|
得到路径 没有扩展名
|
||
|
</summary>
|
||
|
<param name="rptPath"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FileUnit.ReadtxtFile(System.String)">
|
||
|
<summary>
|
||
|
读取文本
|
||
|
</summary>
|
||
|
<param name="filename"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FileUnit.ReadtxtLinesFile(System.String)">
|
||
|
<summary>
|
||
|
读取多行文本
|
||
|
</summary>
|
||
|
<param name="filename"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FileUnit.WritetxtFileLine(System.String,System.String,System.Collections.Generic.List{System.String})">
|
||
|
<summary>
|
||
|
读取多行文本
|
||
|
</summary>
|
||
|
<param name="filepatch"></param>
|
||
|
<param name="filename"></param>
|
||
|
<param name="txtLines"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FileUnit.WritetxtFile(System.String,System.String,System.String)">
|
||
|
<summary>
|
||
|
写入文本
|
||
|
</summary>
|
||
|
<param name="filepatch"></param>
|
||
|
<param name="filename"></param>
|
||
|
<param name="text"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:System.FormatCom">
|
||
|
<summary>
|
||
|
格式化、类型转换 单元
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToDecimal(System.String)">
|
||
|
<summary>
|
||
|
转化为 十进制表示
|
||
|
</summary>
|
||
|
<param name="inStr">字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToDecimal(System.Object)">
|
||
|
<summary>
|
||
|
转化为 十进制表示
|
||
|
</summary>
|
||
|
<param name="obj">要转换的对象</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToInt(System.String)">
|
||
|
<summary>
|
||
|
字符串转化为 整型数字表示
|
||
|
</summary>
|
||
|
<param name="inStr">需要转换的字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToInt(System.Decimal)">
|
||
|
<summary>
|
||
|
Decimal 转化为 整型数字表示
|
||
|
</summary>
|
||
|
<param name="inDec">需要转换的十进制数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToInt(System.Double)">
|
||
|
<summary>
|
||
|
Decimal 转化为 整型数字表示
|
||
|
</summary>
|
||
|
<param name="inDec">需要转换的十进制数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToInt(System.Object)">
|
||
|
<summary>
|
||
|
object 转化为 整型数字表示
|
||
|
</summary>
|
||
|
<param name="obj">需要转换的对象</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToInt32(System.String)">
|
||
|
<summary>
|
||
|
字符串转化为 整型数字表示
|
||
|
</summary>
|
||
|
<param name="inStr">需要转换的字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToInt32(System.Decimal)">
|
||
|
<summary>
|
||
|
Decimal 转化为 整型数字表示
|
||
|
</summary>
|
||
|
<param name="inDec">需要转换的十进制数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToInt32(System.Double)">
|
||
|
<summary>
|
||
|
Decimal 转化为 整型数字表示
|
||
|
</summary>
|
||
|
<param name="inDec">需要转换的十进制数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToInt32(System.Object)">
|
||
|
<summary>
|
||
|
object 转化为 整型数字表示
|
||
|
</summary>
|
||
|
<param name="obj">需要转换的对象</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToLong(System.String)">
|
||
|
<summary>
|
||
|
字符串转化为 long整型数字表示
|
||
|
</summary>
|
||
|
<param name="inStr">需要转换的字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToLong(System.Decimal)">
|
||
|
<summary>
|
||
|
Decimal 转化为 long整型数字表示
|
||
|
</summary>
|
||
|
<param name="inDec">需要转换的十进制数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToLong(System.Object)">
|
||
|
<summary>
|
||
|
object 转化为 long整型数字表示
|
||
|
</summary>
|
||
|
<param name="obj">需要转换的对象</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToShort(System.String)">
|
||
|
<summary>
|
||
|
字符串转化为 短整数表示
|
||
|
</summary>
|
||
|
<param name="inStr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToShort(System.Decimal)">
|
||
|
<summary>
|
||
|
Decimal 转化为 短整数表示
|
||
|
</summary>
|
||
|
<param name="inStr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToShort(System.Object)">
|
||
|
<summary>
|
||
|
object 转化为 短整数表示
|
||
|
</summary>
|
||
|
<param name="inStr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.String(System.String)">
|
||
|
<summary>
|
||
|
过滤字符串
|
||
|
</summary>
|
||
|
<param name="str"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.IsReal(System.String)">
|
||
|
<summary>
|
||
|
判断是否是 实数
|
||
|
</summary>
|
||
|
<param name="strnum"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.ToDouble(System.String)">
|
||
|
<summary>
|
||
|
string 转化为 双精度实数表示
|
||
|
</summary>
|
||
|
<param name="inStr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.LeftNull(System.Int32)">
|
||
|
<summary>
|
||
|
空字符串
|
||
|
</summary>
|
||
|
<param name="str"></param>
|
||
|
<param name="spaceNum"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.LeftSpace(System.Int32)">
|
||
|
<summary>
|
||
|
空字符串
|
||
|
</summary>
|
||
|
<param name="spaceNum">空字符串 数量</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.LeftNullStr(System.String,System.Int32)">
|
||
|
<summary>
|
||
|
左边加空格
|
||
|
</summary>
|
||
|
<param name="str"></param>
|
||
|
<param name="num"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.LeftSpaceStr(System.String,System.Int32)">
|
||
|
<summary>
|
||
|
左边空字符串
|
||
|
</summary>
|
||
|
<param name="str"></param>
|
||
|
<param name="spaceNum"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.LeftSpaceStr(System.Int32,System.Int32)">
|
||
|
<summary>
|
||
|
左边空字符串
|
||
|
</summary>
|
||
|
<param name="inNumber"></param>
|
||
|
<param name="spaceNum"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Leftzero(System.Int32)">
|
||
|
<summary>
|
||
|
左边添加0
|
||
|
</summary>
|
||
|
<param name="num"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.LeftzeroStr(System.String,System.Int32)">
|
||
|
<summary>
|
||
|
左边添加0
|
||
|
</summary>
|
||
|
<param name="str"></param>
|
||
|
<param name="formatLen"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.LeftzeroStr(System.Int32,System.Int32)">
|
||
|
<summary>
|
||
|
格式化 固定位数字符 不足用0补齐
|
||
|
</summary>
|
||
|
<param name="inNum"></param>
|
||
|
<param name="formatLen"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Number(System.Double)">
|
||
|
<summary>
|
||
|
双精度字符转换为整数形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要操作的数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Number(System.Nullable{System.Decimal})">
|
||
|
<summary>
|
||
|
双精度字符转换为整数形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要操作的数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Number(System.Decimal)">
|
||
|
<summary>
|
||
|
十进制字符转换为整数形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要操作的数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Number(System.String)">
|
||
|
<summary>
|
||
|
数字字符串转换为整数形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要操作的数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Number(System.Web.UI.WebControls.GridViewRowEventArgs,System.Int32)">
|
||
|
<summary>
|
||
|
Gridview控件单元格 Cell中的字符串格式化为整数字符串显示
|
||
|
</summary>
|
||
|
<param name="e">Gridview的DataBound事件的事件源 e,也就是当前行的索引</param>
|
||
|
<param name="cellNum">需要进行格式化的列的索引</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Number(System.Web.UI.WebControls.GridViewRowEventArgs,System.String)">
|
||
|
<summary>
|
||
|
Gridview控件单元格 Cell中的文本框控件内字符串格式化为整数字符串显示
|
||
|
</summary>
|
||
|
<param name="e">Gridview的DataBound事件的事件源 e,也就是当前行的索引</param>
|
||
|
<param name="controlName">需要进行格式化的文本框的ID</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Price(System.Double)">
|
||
|
<summary>
|
||
|
双精度字符转换为单价形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要进行格式化的数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Price(System.Nullable{System.Decimal})">
|
||
|
<summary>
|
||
|
双精度字符转换为单价形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要进行格式化的数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Price(System.Decimal)">
|
||
|
<summary>
|
||
|
十进制字符转换为单价形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要进行格式化的数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Price(System.String)">
|
||
|
<summary>
|
||
|
数字字符串转换为单价形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要进行格式化的数字字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Price(System.Web.UI.WebControls.GridViewRowEventArgs,System.Int32)">
|
||
|
<summary>
|
||
|
Gridview控件单元格 Cell中的字符串格式化为单价字符串显示
|
||
|
</summary>
|
||
|
<param name="e">Gridview的DataBound事件的事件源 e,也就是当前行的索引</param>
|
||
|
<param name="cellNum">需要进行格式化的列的索引</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Price(System.Web.UI.WebControls.GridViewRowEventArgs,System.String)">
|
||
|
<summary>
|
||
|
Gridview控件单元格 Cell中的文本框控件内字符串格式化为单价字符串显示
|
||
|
</summary>
|
||
|
<param name="e">Gridview的DataBound事件的事件源 e,也就是当前行的索引</param>
|
||
|
<param name="controlName">需要进行格式化的文本框的ID</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Money(System.Double)">
|
||
|
<summary>
|
||
|
双精度字符转换为金额形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要进行格式化的数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Money(System.Nullable{System.Decimal})">
|
||
|
<summary>
|
||
|
十进制字符转换为金额形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要进行格式化的数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Money(System.Decimal)">
|
||
|
<summary>
|
||
|
十进制字符转换为金额形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要进行格式化的数字</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Money(System.String)">
|
||
|
<summary>
|
||
|
数字字符转换为金额形式字符串显示
|
||
|
</summary>
|
||
|
<param name="numStr">需要进行格式化的数字字符串</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Money(System.Web.UI.WebControls.GridViewRowEventArgs,System.Int32)">
|
||
|
<summary>
|
||
|
Gridview控件单元格 Cell中的字符串格式化为单价字符串显示
|
||
|
</summary>
|
||
|
<param name="e">Gridview的DataBound事件的事件源 e,也就是当前行的索引</param>
|
||
|
<param name="cellNum">需要进行格式化的列的索引</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.Money(System.Web.UI.WebControls.GridViewRowEventArgs,System.String)">
|
||
|
<summary>
|
||
|
Gridview控件单元格 Cell中的文本框控件内字符串格式化为单价字符串显示
|
||
|
</summary>
|
||
|
<param name="e">Gridview的DataBound事件的事件源 e,也就是当前行的索引</param>
|
||
|
<param name="controlName">需要进行格式化的文本框的ID</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.KeepDigit(System.Web.UI.WebControls.GridViewRowEventArgs,System.String,System.Int32)">
|
||
|
<summary>
|
||
|
保留小数位数(用于GridView中的TextBox)
|
||
|
</summary>
|
||
|
<param name="e">行事件源GridViewRowEventArgs</param>
|
||
|
<param name="controlName">TextBox控件名</param>
|
||
|
<param name="count">保留位数</param>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.KeepDigit(System.Web.UI.WebControls.GridViewRowEventArgs,System.String,System.Int32,System.Boolean)">
|
||
|
<summary>
|
||
|
保留小数位数,并取绝对值(用于GridView中的TextBox)
|
||
|
</summary>
|
||
|
<param name="e">行事件源GridViewRowEventArgs</param>
|
||
|
<param name="controlName">TextBox控件名</param>
|
||
|
<param name="count">保留位数</param>
|
||
|
<param name="tf">是否取绝对值</param>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.KeepDigit(System.Web.UI.WebControls.GridViewRowEventArgs,System.Int32,System.Int32)">
|
||
|
<summary>
|
||
|
保留小数位数(用于GridView中的Cell文本)
|
||
|
</summary>
|
||
|
<param name="e">行事件源GridViewRowEventArgs</param>
|
||
|
<param name="cellNum">Cell索引</param>
|
||
|
<param name="count">保留位数</param>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.KeepDigit(System.Web.UI.WebControls.GridViewRowEventArgs,System.Int32,System.Int32,System.Boolean)">
|
||
|
<summary>
|
||
|
保留小数位数,并取绝对值(用于GridView中的Cell文本)
|
||
|
</summary>
|
||
|
<param name="e">行事件源GridViewRowEventArgs</param>
|
||
|
<param name="cellNum">Cell索引</param>
|
||
|
<param name="count">保留位数</param>
|
||
|
<param name="tf">是否取绝对值</param>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.KeepDigit(System.String,System.Int32)">
|
||
|
<summary>
|
||
|
保留小数位数(用于String)
|
||
|
</summary>
|
||
|
<param name="numStr">字符串</param>
|
||
|
<param name="count">保留位数</param>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.KeepDigit(System.Decimal,System.Int32)">
|
||
|
<summary>
|
||
|
保留小数位数(用于decimal)
|
||
|
</summary>
|
||
|
<param name="inDecdecimal">十进制数字</param>
|
||
|
<param name="count">保留位数</param>
|
||
|
</member>
|
||
|
<member name="M:System.FormatCom.KeepDigit(System.Double,System.Int32)">
|
||
|
<summary>
|
||
|
|
||
|
</summary>
|
||
|
<param name="indouble"></param>
|
||
|
<param name="count"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.JsonUnit.ObjectToJson(System.Object)">
|
||
|
<summary>
|
||
|
对象转JSON
|
||
|
</summary>
|
||
|
<param name="obj">对象</param>
|
||
|
<returns>JSON格式的字符串</returns>
|
||
|
</member>
|
||
|
<member name="M:System.JsonUnit.JSONToObject``1(System.String)">
|
||
|
<summary>
|
||
|
JSON文本转对象,泛型方法
|
||
|
</summary>
|
||
|
<typeparam name="T">类型</typeparam>
|
||
|
<param name="jsonText">JSON文本</param>
|
||
|
<returns>指定类型的对象</returns>
|
||
|
</member>
|
||
|
<member name="M:System.JsonUnit.DataTableToList(System.Data.DataTable)">
|
||
|
<summary>
|
||
|
数据表转键值对集合 www.2cto.com
|
||
|
把DataTable转成 List集合, 存每一行
|
||
|
集合中放的是键值对字典,存每一列
|
||
|
</summary>
|
||
|
<param name="dt">数据表</param>
|
||
|
<returns>哈希表数组</returns>
|
||
|
</member>
|
||
|
<member name="M:System.JsonUnit.DataSetToDic(System.Data.DataSet)">
|
||
|
<summary>
|
||
|
数据集转键值对数组字典
|
||
|
</summary>
|
||
|
<param name="dataSet">数据集</param>
|
||
|
<returns>键值对数组字典</returns>
|
||
|
</member>
|
||
|
<member name="M:System.JsonUnit.DataTableToJSON(System.Data.DataTable)">
|
||
|
<summary>
|
||
|
数据表转JSON
|
||
|
</summary>
|
||
|
<param name="dataTable">数据表</param>
|
||
|
<returns>JSON字符串</returns>
|
||
|
</member>
|
||
|
<member name="M:System.JsonUnit.TablesDataFromJSON(System.String)">
|
||
|
<summary>
|
||
|
将JSON文本转换为数据表数据
|
||
|
</summary>
|
||
|
<param name="jsonText">JSON文本</param>
|
||
|
<returns>数据表字典</returns>
|
||
|
</member>
|
||
|
<member name="M:System.JsonUnit.DataRowFromJSON(System.String)">
|
||
|
<summary>
|
||
|
将JSON文本转换成数据行
|
||
|
</summary>
|
||
|
<param name="jsonText">JSON文本</param>
|
||
|
<returns>数据行的字典</returns>
|
||
|
</member>
|
||
|
<member name="T:System.LogUnit">
|
||
|
<summary>
|
||
|
日志操作单元
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.LogUnit.Debug(System.Type,System.Exception)">
|
||
|
<summary>
|
||
|
输出日志到Log4Net
|
||
|
</summary>
|
||
|
<param name="t"></param>
|
||
|
<param name="ex"></param>
|
||
|
</member>
|
||
|
<member name="M:System.LogUnit.Info(System.Type,System.Exception)">
|
||
|
<summary>
|
||
|
输出日志到Log4Net
|
||
|
</summary>
|
||
|
<param name="t"></param>
|
||
|
<param name="ex"></param>
|
||
|
</member>
|
||
|
<member name="M:System.LogUnit.Warn(System.Type,System.Exception)">
|
||
|
<summary>
|
||
|
输出日志到Log4Net
|
||
|
</summary>
|
||
|
<param name="t"></param>
|
||
|
<param name="ex"></param>
|
||
|
</member>
|
||
|
<member name="M:System.LogUnit.Error(System.Type,System.Exception)">
|
||
|
<summary>
|
||
|
输出日志到Log4Net
|
||
|
</summary>
|
||
|
<param name="t"></param>
|
||
|
<param name="ex"></param>
|
||
|
</member>
|
||
|
<member name="T:System.VerifyUnit">
|
||
|
<summary>
|
||
|
验证单元
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.VerifyUnit.IsEmail(System.String)">
|
||
|
<summary>
|
||
|
验证是否是标准的邮件格式
|
||
|
</summary>
|
||
|
<param name="EmailStr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.VerifyUnit.IsNumber(System.String)">
|
||
|
<summary>
|
||
|
验证是否为数字
|
||
|
</summary>
|
||
|
<param name="NumberStr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.VerifyUnit.IsDecimal(System.String)">
|
||
|
<summary>
|
||
|
验证是否是浮点数
|
||
|
</summary>
|
||
|
<param name="DecimalStr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.VerifyUnit.IsMobile(System.String)">
|
||
|
<summary>
|
||
|
验证是否是手机格式
|
||
|
</summary>
|
||
|
<param name="MobileStr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.VerifyUnit.IsTel(System.String)">
|
||
|
<summary>
|
||
|
验证是否是电话号码格式
|
||
|
</summary>
|
||
|
<param name="TelStr"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.VerifyUnit.CheckIp(System.String)">
|
||
|
<summary>
|
||
|
Ip地址验证
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.VerifyUnit.CheckIDCard(System.String)">
|
||
|
<summary>
|
||
|
身份证验证
|
||
|
</summary>
|
||
|
<param name="Id">身份证号</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.VerifyUnit.CheckIDCard18(System.String)">
|
||
|
<summary>
|
||
|
18位身份证验证
|
||
|
</summary>
|
||
|
<param name="Id">身份证号</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.VerifyUnit.CheckIDCard15(System.String)">
|
||
|
<summary>
|
||
|
15位身份证验证
|
||
|
</summary>
|
||
|
<param name="Id">身份证号</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:System.HDUnit">
|
||
|
<summary>
|
||
|
硬件信息 读取单元
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.HDUnit.GetCPUNo">
|
||
|
<summary>
|
||
|
读取第一颗 Cup ID号
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.HDUnit.GetHDNo">
|
||
|
<summary>
|
||
|
读取第一块硬盘Id号
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.HDUnit.GetNetCartNo">
|
||
|
<summary>
|
||
|
读取网卡信息 可读多块
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.HDUnit.GetNetworkAdpaterID">
|
||
|
<summary>
|
||
|
获取网卡ID代码
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.HDUnit.GetMBNo">
|
||
|
<summary>
|
||
|
读取主板 Id 号
|
||
|
</summary>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<!-- 对于成员“M:System.HDUnit.GetCpuStates”忽略有格式错误的 XML 注释 -->
|
||
|
<member name="T:System.NetUnit">
|
||
|
<summary>
|
||
|
网络操作单元
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.NetUnit.GetHostName">
|
||
|
<summary>
|
||
|
获取本地机器名称
|
||
|
</summary>
|
||
|
<returns>机器名称</returns>
|
||
|
</member>
|
||
|
<member name="M:System.NetUnit.GetHostIp">
|
||
|
<summary>
|
||
|
获取本地机器IP
|
||
|
</summary>
|
||
|
<returns>IP地址</returns>
|
||
|
</member>
|
||
|
<member name="M:System.NetUnit.GetHostMac">
|
||
|
<summary>
|
||
|
获取本机MAC地址
|
||
|
</summary>
|
||
|
<returns>string null</returns>
|
||
|
</member>
|
||
|
<member name="M:System.NetUnit.IsIP(System.String)">
|
||
|
<summary>
|
||
|
C# 验证IP
|
||
|
</summary>
|
||
|
<param name="ip"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.NetUnit.GetWebUrl(System.String)">
|
||
|
GET方法获取页面
|
||
|
函数名:GetWebUrl
|
||
|
功能描述:WebClient 获取页面
|
||
|
处理流程:
|
||
|
算法描述:
|
||
|
作 者: lxc
|
||
|
日 期: 2012-10-09
|
||
|
修 改:
|
||
|
日 期:
|
||
|
版 本:
|
||
|
</member>
|
||
|
<!-- 对于成员“M:System.NetUnit.PostUrl(System.String,System.String)”忽略有格式错误的 XML 注释 -->
|
||
|
<member name="M:System.NetUnit.GetFileUrl(System.String,System.String)">
|
||
|
GET方法获取页面
|
||
|
函数名:GetFileUrl
|
||
|
功能描述:WebClient 下载文件
|
||
|
处理流程:
|
||
|
算法描述:
|
||
|
作 者: lxc
|
||
|
日 期: 2012-10-09
|
||
|
修 改:
|
||
|
日 期:
|
||
|
版 本:
|
||
|
</member>
|
||
|
<member name="M:System.NetUnit.GetImage(System.String,System.String)">
|
||
|
<summary>
|
||
|
|
||
|
</summary>
|
||
|
<param name="url">目标url</param>
|
||
|
<param name="cookieheader">输入Cookie</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.NetUnit.GetImage(System.String,System.String,System.String@,System.String)">
|
||
|
<summary>
|
||
|
|
||
|
</summary>
|
||
|
<param name="url">目标url</param>
|
||
|
<param name="cookieheader">输入Cookie</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.NetUnit.GetImage(System.String,System.String,System.String)">
|
||
|
<summary>
|
||
|
|
||
|
</summary>
|
||
|
<param name="url">目标url</param>
|
||
|
<param name="cookieheader">输入Cookie</param>
|
||
|
<param name="Header_Referer">包头 Referer</param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="T:System.SecurityUnit">
|
||
|
<summary>
|
||
|
安全 类
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.SecurityUnit.#ctor">
|
||
|
<summary>
|
||
|
|
||
|
</summary>
|
||
|
</member>
|
||
|
<member name="M:System.SecurityUnit.ToPasswordOld(System.String)">
|
||
|
<summary>
|
||
|
密码加密 不能解密
|
||
|
</summary>
|
||
|
<param name="inpwd"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.SecurityUnit.Encode(System.String)">
|
||
|
<summary>
|
||
|
加密
|
||
|
</summary>
|
||
|
<param name="source"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.SecurityUnit.Encode(System.String,System.String)">
|
||
|
<summary>
|
||
|
DES加密方法
|
||
|
</summary>
|
||
|
<param name="source">明文</param>
|
||
|
<param name="sKey">秘钥</param>
|
||
|
<returns>密文</returns>
|
||
|
</member>
|
||
|
<member name="M:System.SecurityUnit.Decode(System.String)">
|
||
|
<summary>
|
||
|
加密
|
||
|
</summary>
|
||
|
<param name="source">明文</param>
|
||
|
<returns>密文</returns>
|
||
|
</member>
|
||
|
<member name="M:System.SecurityUnit.Decode(System.String,System.String)">
|
||
|
<summary>
|
||
|
DES解密。
|
||
|
</summary>
|
||
|
<param name="source"> 密文</param>
|
||
|
<param name="sKey">key</param>
|
||
|
<returns>明文</returns>
|
||
|
</member>
|
||
|
<member name="M:System.SecurityUnit.MD5Key(System.String)">
|
||
|
<summary>
|
||
|
md5加密后 取8位
|
||
|
</summary>
|
||
|
<param name="key"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
<member name="M:System.SecurityUnit.MD5Encode(System.String)">
|
||
|
<summary>
|
||
|
MD5 加密
|
||
|
</summary>
|
||
|
<param name="input"></param>
|
||
|
<returns></returns>
|
||
|
</member>
|
||
|
</members>
|
||
|
</doc>
|