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.
373 lines
16 KiB
373 lines
16 KiB
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>EC.Util.Extension</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="T:EC.Util.Extension.Extensions">
|
|
<summary>
|
|
类型转换扩展
|
|
</summary>
|
|
<summary>
|
|
日期时间扩展
|
|
</summary>
|
|
<summary>
|
|
格式化扩展
|
|
</summary>
|
|
<summary>
|
|
扩展 - 可空类型
|
|
</summary>
|
|
<summary>
|
|
验证扩展
|
|
</summary>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToInt(System.Object)">
|
|
<summary>
|
|
转换为整型
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToIntOrNull(System.Object)">
|
|
<summary>
|
|
转换为可空整型
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDouble(System.Object)">
|
|
<summary>
|
|
转换为双精度浮点数
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDouble(System.Object,System.Int32)">
|
|
<summary>
|
|
转换为双精度浮点数,并按指定的小数位4舍5入
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
<param name="digits">小数位数</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDoubleOrNull(System.Object)">
|
|
<summary>
|
|
转换为可空双精度浮点数
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDecimal(System.Object)">
|
|
<summary>
|
|
转换为高精度浮点数
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDecimal(System.Object,System.Int32)">
|
|
<summary>
|
|
转换为高精度浮点数,并按指定的小数位4舍5入
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
<param name="digits">小数位数</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDecimalOrNull(System.Object)">
|
|
<summary>
|
|
转换为可空高精度浮点数
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDecimalOrNull(System.Object,System.Int32)">
|
|
<summary>
|
|
转换为可空高精度浮点数,并按指定的小数位4舍5入
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
<param name="digits">小数位数</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDate(System.Object)">
|
|
<summary>
|
|
转换为日期
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDateOrNull(System.Object)">
|
|
<summary>
|
|
转换为可空日期
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToBool(System.Object)">
|
|
<summary>
|
|
转换为布尔值
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.GetBool(System.Object)">
|
|
<summary>
|
|
获取布尔值
|
|
</summary>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToBoolOrNull(System.Object)">
|
|
<summary>
|
|
转换为可空布尔值
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToString(System.Object)">
|
|
<summary>
|
|
转换为字符串
|
|
</summary>
|
|
<param name="data">数据</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDateTimeString(System.DateTime,System.Boolean)">
|
|
<summary>
|
|
获取格式化字符串,带时分秒,格式:"yyyy-MM-dd HH:mm:ss"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
<param name="isRemoveSecond">是否移除秒</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDateTimeString(System.Nullable{System.DateTime},System.Boolean)">
|
|
<summary>
|
|
获取格式化字符串,带时分秒,格式:"yyyy-MM-dd HH:mm:ss"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
<param name="isRemoveSecond">是否移除秒</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDateString(System.DateTime)">
|
|
<summary>
|
|
获取格式化字符串,不带时分秒,格式:"yyyy-MM-dd"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToDateString(System.Nullable{System.DateTime})">
|
|
<summary>
|
|
获取格式化字符串,不带时分秒,格式:"yyyy-MM-dd"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToTimeString(System.DateTime)">
|
|
<summary>
|
|
获取格式化字符串,不带年月日,格式:"HH:mm:ss"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToTimeString(System.Nullable{System.DateTime})">
|
|
<summary>
|
|
获取格式化字符串,不带年月日,格式:"HH:mm:ss"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToMillisecondString(System.DateTime)">
|
|
<summary>
|
|
获取格式化字符串,带毫秒,格式:"yyyy-MM-dd HH:mm:ss.fff"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToMillisecondString(System.Nullable{System.DateTime})">
|
|
<summary>
|
|
获取格式化字符串,带毫秒,格式:"yyyy-MM-dd HH:mm:ss.fff"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToChineseDateString(System.DateTime)">
|
|
<summary>
|
|
获取格式化字符串,不带时分秒,格式:"yyyy年MM月dd日"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToChineseDateString(System.Nullable{System.DateTime})">
|
|
<summary>
|
|
获取格式化字符串,不带时分秒,格式:"yyyy年MM月dd日"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToChineseDateTimeString(System.DateTime,System.Boolean)">
|
|
<summary>
|
|
获取格式化字符串,带时分秒,格式:"yyyy年MM月dd日 HH时mm分"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
<param name="isRemoveSecond">是否移除秒</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.ToChineseDateTimeString(System.Nullable{System.DateTime},System.Boolean)">
|
|
<summary>
|
|
获取格式化字符串,带时分秒,格式:"yyyy年MM月dd日 HH时mm分"
|
|
</summary>
|
|
<param name="dateTime">日期</param>
|
|
<param name="isRemoveSecond">是否移除秒</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.Description(System.Boolean)">
|
|
<summary>
|
|
获取描述
|
|
</summary>
|
|
<param name="value">布尔值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.Description(System.Nullable{System.Boolean})">
|
|
<summary>
|
|
获取描述
|
|
</summary>
|
|
<param name="value">布尔值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.Format(System.Int32,System.String)">
|
|
<summary>
|
|
获取格式化字符串
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
<param name="defaultValue">空值显示的默认文本</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.Format(System.Nullable{System.Int32},System.String)">
|
|
<summary>
|
|
获取格式化字符串
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
<param name="defaultValue">空值显示的默认文本</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.Format(System.Decimal,System.String)">
|
|
<summary>
|
|
获取格式化字符串
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
<param name="defaultValue">空值显示的默认文本</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.Format(System.Nullable{System.Decimal},System.String)">
|
|
<summary>
|
|
获取格式化字符串
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
<param name="defaultValue">空值显示的默认文本</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.Format(System.Double,System.String)">
|
|
<summary>
|
|
获取格式化字符串
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
<param name="defaultValue">空值显示的默认文本</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.Format(System.Nullable{System.Double},System.String)">
|
|
<summary>
|
|
获取格式化字符串
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
<param name="defaultValue">空值显示的默认文本</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.FormatRmb(System.Decimal)">
|
|
<summary>
|
|
获取格式化字符串,带¥
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.FormatRmb(System.Nullable{System.Decimal})">
|
|
<summary>
|
|
获取格式化字符串,带¥
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.FormatPercent(System.Decimal)">
|
|
<summary>
|
|
获取格式化字符串,带%
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.FormatPercent(System.Nullable{System.Decimal})">
|
|
<summary>
|
|
获取格式化字符串,带%
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.FormatPercent(System.Double)">
|
|
<summary>
|
|
获取格式化字符串,带%
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.FormatPercent(System.Nullable{System.Double})">
|
|
<summary>
|
|
获取格式化字符串,带%
|
|
</summary>
|
|
<param name="number">数值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.SafeValue``1(System.Nullable{``0})">
|
|
<summary>
|
|
安全返回值
|
|
</summary>
|
|
<param name="value">可空值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.CheckNull(System.Object,System.String)">
|
|
<summary>
|
|
检测空值,为null则抛出ArgumentNullException异常
|
|
</summary>
|
|
<param name="obj">对象</param>
|
|
<param name="parameterName">参数名</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.IsEmpty(System.String)">
|
|
<summary>
|
|
是否为空
|
|
</summary>
|
|
<param name="value">值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.IsEmpty(System.Nullable{System.Guid})">
|
|
<summary>
|
|
是否为空
|
|
</summary>
|
|
<param name="value">值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.IsEmpty(System.Guid)">
|
|
<summary>
|
|
是否为空
|
|
</summary>
|
|
<param name="value">值</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.Extensions.IsEmpty(System.Object)">
|
|
<summary>
|
|
是否为空
|
|
</summary>
|
|
<param name="value">值</param>
|
|
</member>
|
|
<member name="T:EC.Util.Extension.LinqExtensions">
|
|
<summary>
|
|
Enables the efficient, dynamic composition of query predicates.
|
|
</summary>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.LinqExtensions.And``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
|
|
<summary>
|
|
组合And
|
|
</summary>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.LinqExtensions.Or``1(System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}},System.Linq.Expressions.Expression{System.Func{``0,System.Boolean}})">
|
|
<summary>
|
|
组合Or
|
|
</summary>
|
|
<returns></returns>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.LinqExtensions.Compose``1(System.Linq.Expressions.Expression{``0},System.Linq.Expressions.Expression{``0},System.Func{System.Linq.Expressions.Expression,System.Linq.Expressions.Expression,System.Linq.Expressions.Expression})">
|
|
<summary>
|
|
Combines the first expression with the second using the specified merge function.
|
|
</summary>
|
|
</member>
|
|
<member name="T:EC.Util.Extension.LinqExtensions.ParameterRebinder">
|
|
<summary>
|
|
ParameterRebinder
|
|
</summary>
|
|
</member>
|
|
<member name="F:EC.Util.Extension.LinqExtensions.ParameterRebinder.map">
|
|
<summary>
|
|
The ParameterExpression map
|
|
</summary>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.LinqExtensions.ParameterRebinder.#ctor(System.Collections.Generic.Dictionary{System.Linq.Expressions.ParameterExpression,System.Linq.Expressions.ParameterExpression})">
|
|
<summary>
|
|
Initializes a new instance of the <see cref="T:EC.Util.Extension.LinqExtensions.ParameterRebinder"/> class.
|
|
</summary>
|
|
<param name="map">The map.</param>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.LinqExtensions.ParameterRebinder.ReplaceParameters(System.Collections.Generic.Dictionary{System.Linq.Expressions.ParameterExpression,System.Linq.Expressions.ParameterExpression},System.Linq.Expressions.Expression)">
|
|
<summary>
|
|
Replaces the parameters.
|
|
</summary>
|
|
<param name="map">The map.</param>
|
|
<param name="exp">The exp.</param>
|
|
<returns>Expression</returns>
|
|
</member>
|
|
<member name="M:EC.Util.Extension.LinqExtensions.ParameterRebinder.VisitParameter(System.Linq.Expressions.ParameterExpression)">
|
|
<summary>
|
|
Visits the parameter.
|
|
</summary>
|
|
<param name="p">The p.</param>
|
|
<returns>Expression</returns>
|
|
</member>
|
|
</members>
|
|
</doc>
|
|
|