RuoVea.ExIdGen
5.0.2
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 RuoVea.ExIdGen --version 5.0.2
NuGet\Install-Package RuoVea.ExIdGen -Version 5.0.2
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="RuoVea.ExIdGen" Version="5.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RuoVea.ExIdGen --version 5.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RuoVea.ExIdGen, 5.0.2"
#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 RuoVea.ExIdGen as a Cake Addin #addin nuget:?package=RuoVea.ExIdGen&version=5.0.2 // Install RuoVea.ExIdGen as a Cake Tool #tool nuget:?package=RuoVea.ExIdGen&version=5.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
RuoVea.ExCache
介绍
IdGenerator 雪花漂移算法(支持数据中心ID和秒级时间戳),雪花漂移算法; 生成数值型Id、生成字符串Id、No 自动生成编号(201008251145409865)
使用示例
生成雪花 数值型 Id
long id = IdGenerator.Id;
string id = IdGenerator.IdStr("demo");
相关配置文件
{
"IdGenerator": {
/* 计器码 用于唯一Id 的生成 */
"WorkerId": 2,
/* 默认值6,取值范围 [3, 21](要求:序列数位长+机器码位长不超过22) */
"SeqBitLength": 6
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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.
-
net5.0
- Microsoft.Extensions.Configuration (>= 6.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on RuoVea.ExIdGen:
Package | Downloads |
---|---|
RuoVea.ExSugar
Sqlsugar扩展 快速注入,支持简体中文、繁体中文、粤语、日语、法语、英语.使用方式:service.AddSqlsugar();继承RestFulLog 重写异常日志,操作日志,差异日志 |
|
RuoVea.ExWeb
CorsUrls、IPLimit、SafeIps、Jwt 配置 |
|
RuoVea.QuartzNetUI
QuartzNet UI界面 执行脚本地址:https://gitee.com/starry123/ruovea-quartznet-ui/tree/develop/Doc/Sql |
GitHub repositories
This package is not used by any popular GitHub repositories.