# TUtility **Repository Path**: ThingsGateway/TUtility ## Basic Information - **Project Name**: TUtility - **Description**: TUtility 是一个轻量级、高性能、功能丰富的 .NET 工具库。提供模块化启动系统、对象池、池化异步任务、定时任务调度、JSON序列化扩展等功能。 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2026-04-05 - **Last Updated**: 2026-04-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 

TORM Logo

TUtility - .NET 工具库

[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) [![NuGet](https://img.shields.io/nuget/v/TUtility.svg)](https://www.nuget.org/packages/TUtility) [![.NET](https://img.shields.io/badge/.NET-8.0%20%7C%2010.0-blue.svg)](https://dotnet.microsoft.com/) **轻量级、高性能、功能丰富的 .NET 工具库** **ThingsGateway** 生态中的 **基础** 组件
--- ## 项目简介 TUtility 是一个轻量级、高性能、功能丰富的 .NET 工具库。提供模块化启动系统、对象池、池化异步任务、定时任务调度、JSON序列化扩展等功能。 ## 安装 ```bash dotnet add package TUtility ``` ## 支持的目标框架 - .NET 8.0 - .NET 10.0 ## 项目结构 ``` TUtility/ ├── analyzer/ │ ├── TUtility.Analyzer/ # 代码分析器 │ └── TUtility.Generator/ # 源生成器 ├── src/ │ └── TUtility/ │ ├── App/ # 应用启动与配置 │ ├── Attributes/ # 特性定义 │ ├── Caching/ # 缓存实现 │ ├── Collections/ # 集合与对象池 │ ├── Common/ # 通用工具 │ ├── Data/ # 数据模型 │ ├── Enums/ # 枚举定义 │ ├── Extensions/ # 扩展方法 │ ├── Helper/ # 帮助类 │ ├── Logger/ # 日志组件 │ ├── OperResult/ # 操作结果模式 │ ├── PooledAwait/ # 池化异步 │ ├── SystemTextJson/ # JSON 序列化 │ ├── Threading/ # 线程与定时器 │ └── Util/ # 工具类 └── test/ └── TUtility.Test/ # 单元测试 ``` ## 感谢 [PooledAwait](https://github.com/mgravell/PooledAwait) [NewLife.Core](https://gitee.com/NewLifeX/X) [YitIdHelper](https://github.com/yitter/IdGenerator)