Sparkdo.IdGeneration.Abstractions 2.0.0-preview.2

This is a prerelease version of Sparkdo.IdGeneration.Abstractions.
dotnet add package Sparkdo.IdGeneration.Abstractions --version 2.0.0-preview.2
                    
NuGet\Install-Package Sparkdo.IdGeneration.Abstractions -Version 2.0.0-preview.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="Sparkdo.IdGeneration.Abstractions" Version="2.0.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sparkdo.IdGeneration.Abstractions" Version="2.0.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="Sparkdo.IdGeneration.Abstractions" />
                    
Project file
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 Sparkdo.IdGeneration.Abstractions --version 2.0.0-preview.2
                    
#r "nuget: Sparkdo.IdGeneration.Abstractions, 2.0.0-preview.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.
#:package Sparkdo.IdGeneration.Abstractions@2.0.0-preview.2
                    
#: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=Sparkdo.IdGeneration.Abstractions&version=2.0.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Sparkdo.IdGeneration.Abstractions&version=2.0.0-preview.2&prerelease
                    
Install as a Cake Tool

Sparkdo.IdGeneration.Abstractions

Sparkdo.IdGeneration.Abstractions 定义 Id 生成的稳定公共契约:

  • IIdGenerator<TId>
  • IGuidGenerator
  • IStringIdGenerator
  • ILongIdGenerator
  • IIdGeneratorProvider
  • IdGenerationCapability

本包只描述调用面和 capability identity,不依赖 DI、Options、Hosting、DistributedLocking、Manifest、Compiler 或任何运行时实现。

算法、worker id 分配、Snowflake 状态、package-default 注册和 lifecycle 行为均由 Sparkdo.IdGeneration 提供。应用或生态包可实现这些接口,并通过普通或 keyed DI 注册替换、扩展默认生成器。

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Sparkdo.IdGeneration.Abstractions:

Package Downloads
Sparkdo.IdGeneration

Sparkdo 的 UUID v7、ULID 与 Snowflake Id 生成运行时。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-preview.2 46 7/20/2026
2.0.0-preview.1 41 7/18/2026