Crping.Common.Base 1.24.0

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
#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

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
  1. 添加:ILogger,Logger

2022-04-20

  1. 修复数字时间戳转DateTime不正确的Bug

2022-03-17

  1. 添加方法:GetPropsAndValues,获取由对象的属性与值拼接的字符串,支持包含和排除部分属性。

2021-07-22

  1. 添加DateTimeKit,调整代码位置
  2. 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 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.

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.24.0 134 3/28/2024
1.23.0 95 3/20/2024
1.22.0 101 3/13/2024
1.21.0 286 10/26/2023
1.20.0 369 5/29/2023
1.19.0 135 5/29/2023
1.18.0 396 2/17/2023
1.17.0 281 2/15/2023
1.16.1 276 2/13/2023
1.16.0 272 2/12/2023
1.15.0 265 2/3/2023
1.14.0 337 1/4/2023
1.13.1 310 1/3/2023
1.13.0 298 12/31/2022
1.12.0 301 12/30/2022
1.11.0 532 10/20/2022
1.10.0 397 10/18/2022
1.9.0 685 8/9/2022
1.8.1 1,284 5/26/2022
1.8.0 1,029 4/20/2022
1.7.1 1,499 3/31/2022
1.7.0 1,019 3/17/2022
1.6.0 1,308 10/14/2021
1.5.0 368 9/24/2021
1.4.0 871 9/3/2021
1.3.0 1,221 8/31/2021
1.2.0 3,710 7/28/2021
1.1.1 354 7/23/2021
1.1.0 1,002 7/22/2021
1.0.1 482 7/22/2021
1.0.0 1,871 7/16/2021

常用基础方法