Fs.Core.StdDot
1.0.3
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Framework 4.8
This package targets .NET Framework 4.8. The package is compatible with this framework or higher.
dotnet add package Fs.Core.StdDot --version 1.0.3
NuGet\Install-Package Fs.Core.StdDot -Version 1.0.3
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="Fs.Core.StdDot" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fs.Core.StdDot" Version="1.0.3" />
<PackageReference Include="Fs.Core.StdDot" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fs.Core.StdDot --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Fs.Core.StdDot, 1.0.3"
#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.
#:package Fs.Core.StdDot@1.0.3
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fs.Core.StdDot&version=1.0.3
#tool nuget:?package=Fs.Core.StdDot&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Fs.Core.StdDot
Fs.Core.StdDot 是一个功能丰富的 .NET 工具类库,提供了大量常用的实用工具方法,帮助开发者快速构建应用程序。
✨ 特性
- 🎯 字符串处理: 丰富的字符串操作和验证工具
- 📁 文件操作: 文件和目录管理的便捷方法
- 🔢 数学计算: 常用数学运算和单位转换
- 📅 日期时间: 日期时间处理和格式化工具
- 🔐 加密解密: 提供常用的加密和哈希算法
- 💻 系统工具: 进程管理、注册表操作、屏幕截图等
- 🎲 随机生成: 各种随机数据生成工具
- 🌐 拼音转换: 汉字转拼音功能
- ✅ 数据验证: 输入验证和数据检查工具
📦 安装
通过 NuGet Package Manager
Install-Package Fs.Core.StdDot
通过 .NET CLI
dotnet add package Fs.Core.StdDot
通过 PackageReference
<PackageReference Include="Fs.Core.StdDot" Version="1.0.0" />
🎯 支持的框架
- .NET Framework 4.8
- .NET 8.0 (Windows)
📚 主要功能模块
字符串工具 (StringUtil)
- 字符串格式化和转换
- 字符串验证和判断
- 字符串裁剪和处理
文件操作 (FileOpUtil, FileIOUtil, PathUtil)
- 文件复制、移动、删除
- 文件内容读写
- 路径处理和目录管理
数学工具 (MathUtil)
- 数学计算和舍入
- 数值转换
- 几何计算
日期时间 (DateTimeUtil)
- 日期时间格式化
- 时间戳转换
- 时间差计算
加密工具 (EncryptHelper)
- 哈希算法 (MD5, SHA)
- 对称加密
- 字符串加密解密
系统工具 (SystemHelper, ProcessUtil)
- 系统信息获取
- 进程管理
- 注册表操作 (RegistryUtil)
- 屏幕截图 (ScreenShotHelper)
随机工具 (RandomUtil, RandHelper)
- 随机数生成
- 随机字符串生成
- GUID 生成
拼音工具 (PinyinUtil)
- 汉字转拼音
- 首字母提取
🚀 快速开始
using Fs.Core.StdDot;
// 字符串操作示例
string result = StringUtil.Trim(" hello world ");
// 文件操作示例
string content = FileIOUtil.ReadAllText("path/to/file.txt");
// 日期时间示例
string dateStr = DateTimeUtil.FormatDateTime(DateTime.Now);
// 加密示例
string hash = EncryptHelper.MD5Encrypt("password");
// 随机数生成示例
int randomNumber = RandomUtil.GetRandomInt(1, 100);
📖 文档
更多详细文档和使用示例,请访问 GitHub 仓库。
🔗 NuGet 包
访问 NuGet 获取最新版本:https://www.nuget.org/packages/Fs.Core.StdDot/
🤝 贡献
欢迎贡献代码和提出问题!请访问 GitHub Issues。
📄 许可证
本项目采用 MIT 许可证。
👥 作者
由 FsDiG 团队开发和维护。
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
| .NET Framework | net48 is compatible. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- Masuit.Tools.Core (>= 2025.6.4)
- Microsoft.CSharp (>= 4.7.0)
- Microsoft.VisualBasic (>= 10.3.0)
- System.ComponentModel (>= 4.3.0)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Data.DataSetExtensions (>= 4.5.0)
- System.Management (>= 10.0.0)
-
net8.0-windows7.0
- Masuit.Tools.Core (>= 2025.6.4)
- System.ComponentModel.Annotations (>= 5.0.0)
- System.Configuration.ConfigurationManager (>= 10.0.0)
- System.Data.OleDb (>= 10.0.0)
- System.Data.SqlClient (>= 4.9.0)
- System.Management (>= 10.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.