Crping.Common.Base
1.24.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Crping.Common.Base --version 1.24.0
NuGet\Install-Package Crping.Common.Base -Version 1.24.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Crping.Common.Base" Version="1.24.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Crping.Common.Base --version 1.24.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Crping.Common.Base, 1.24.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Crping.Common.Base as a Cake Addin #addin nuget:?package=Crping.Common.Base&version=1.24.0 // Install Crping.Common.Base as a Cake Tool #tool nuget:?package=Crping.Common.Base&version=1.24.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Crping.Common.Base
常用开发工具包,扩展方法等
版本更新说明
1.24.0
2024年3月28日 星期四
- 新增方法:
CustomTimestamp(...)
- 修改方法:
GenerateId(...)
,GetTimestampStr(...)
,新增参数:fixedTime
- 修改实体类:
TreeNode
1.23.0
2024年3月20日 星期三
GenerateId(...)
与GetTimestampStr(...)
方法新增参数,并优化处理逻辑- 升级引用组件
1.22.0
2024年3月13日 星期三
- 新增方法:
GenerateId(...)
1.21.0
2023年10月26日 星期四
EnumKit
新增方法List<(string Name, TEnum Code, int Value)> GetEnumItems<TEnum> ()
EnumKit
新增方法string GetEnumName<TEnum> (TEnum enumValue)
1.20.0
2023-05-29
- 方法
IsContainsChinese()
新增参数isAllChinese
1.19.0
2023-05-29
- 新增方法:
IsContainsChinese()
,判断字符串是否包含中文
1.18.0
2023-02-17
- 新增以时间戳生成的62 或 36 进制的字符串方法
GetTimestampStr
1.17.0
2023-02-15
- 新增字符串按分隔符转数组方法
SplitBySymbols
1.16.1
2023-02-12
- 方法
GetPropsMapping
添加匿名类型输出
1.16.0
2023-02-12
ModelExt
新增方法GetPropsMapping
1.15.0
2023-02-03
- 将运行环境修改为
net7.0
- 根据新运行环境支持的新语法优化代码
1.14.0
2023-01-04
- 新增日期时间的个性化格式方法:
ToCustomFormat
ToLabelValues
中使用ToCustomFormat
输出日期时间数据
1.13.2
2023-01-03
- 方法
ToLabelValues
添加对日期时间的格式处理
1.13.1
2023-01-03
ModelKit
中的方法ToLabelValues
新增属性排序功能
1.13.0
2022-12-31
ModelKit
添加新方法ToString
1.12.0
2022-12-30
- 新增方法:ToLabelValues,将对象的属性与值转换成 Label Value 键值对列表
1.11.0
2022-10-20
- 添加Xml文档输出
- 优化字符串处理相关类
- 升级引用组件:System.Text.Json
1.10.0
2022-10-18
- 新增:方法
Truncation
,截取字符串
1.9.0
2022-08-03
- 添加:ILogger,Logger
2022-04-20
- 修复数字时间戳转DateTime不正确的Bug
2022-03-17
- 添加方法:GetPropsAndValues,获取由对象的属性与值拼接的字符串,支持包含和排除部分属性。
2021-07-22
- 添加DateTimeKit,调整代码位置
- GetTimeStamp添加转大写参数,仅数字参数,随机数参数
以往更新记录
- 1.8.1:更新System.Text.Json版本
- 1.8.0:修复数字时间戳转DateTime不正确的Bug
- 1.7.1:Matching部分方法添加非空检测
- 1.7.0:新增方法:GetPropsAndValues,获取由对象的属性与值拼接的字符串,支持包含和排除部分属性。
- 1.6.0:新增方法:GetAllFiles,递归获取目录及其所有子目录中的指定类型文件
- 1.5.0:新增Truncate,UnicodeToNative,ToSemiangle方法,将RemoveBracketsAndContents重命令名为ClearBracketsAndContents
- 1.4.0:新增方法:GetSubstringByWord、RemoveBracketsAndContents
- 1.3.0:新增Cascade,TreeNode实体
- 1.2.0:添加时间相关方法
- 1.1.1:优化时间戳相关方法
- 1.1.0:优化GetTimeStamp,优化一些类名
- 1.0.1:添加时间戳转换,GetTimeStamp添加转大写参数,随机数参数,仅数字参数
- 1.0.0:常用开发工具包,扩展方法等
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Text.Json (>= 8.0.3)
NuGet packages (7)
Showing the top 5 NuGet packages that depend on Crping.Common.Base:
Package | Downloads |
---|---|
Crping.Common
常用方法工具包 |
|
Crping.Multitasking
Crping.Multitasking |
|
Crping.Auth.BLL
Crping.Auth 的业务逻辑层 |
|
Crping.WeixinPay
微信支付 |
|
Crping.AuthPolicy.BLL
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.25.1 | 275 | 6/14/2024 |
1.25.0 | 89 | 6/14/2024 |
1.24.0 | 247 | 3/28/2024 |
1.23.0 | 134 | 3/20/2024 |
1.22.0 | 128 | 3/13/2024 |
1.21.0 | 311 | 10/26/2023 |
1.20.0 | 401 | 5/29/2023 |
1.19.0 | 158 | 5/29/2023 |
1.18.0 | 450 | 2/17/2023 |
1.17.0 | 311 | 2/15/2023 |
1.16.1 | 307 | 2/13/2023 |
1.16.0 | 294 | 2/12/2023 |
1.15.0 | 296 | 2/3/2023 |
1.14.0 | 357 | 1/4/2023 |
1.13.1 | 330 | 1/3/2023 |
1.13.0 | 320 | 12/31/2022 |
1.12.0 | 314 | 12/30/2022 |
1.11.0 | 568 | 10/20/2022 |
1.10.0 | 421 | 10/18/2022 |
1.9.0 | 717 | 8/9/2022 |
1.8.1 | 1,348 | 5/26/2022 |
1.8.0 | 1,057 | 4/20/2022 |
1.7.1 | 1,548 | 3/31/2022 |
1.7.0 | 1,057 | 3/17/2022 |
1.6.0 | 1,388 | 10/14/2021 |
1.5.0 | 390 | 9/24/2021 |
1.4.0 | 946 | 9/3/2021 |
1.3.0 | 1,294 | 8/31/2021 |
1.2.0 | 3,921 | 7/28/2021 |
1.1.1 | 379 | 7/23/2021 |
1.1.0 | 1,061 | 7/22/2021 |
1.0.1 | 521 | 7/22/2021 |
1.0.0 | 1,997 | 7/16/2021 |
常用基础方法