Sparkdo.Timing.Abstractions 2.0.0-preview.2

This is a prerelease version of Sparkdo.Timing.Abstractions.
dotnet add package Sparkdo.Timing.Abstractions --version 2.0.0-preview.2
                    
NuGet\Install-Package Sparkdo.Timing.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.Timing.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.Timing.Abstractions" Version="2.0.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="Sparkdo.Timing.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.Timing.Abstractions --version 2.0.0-preview.2
                    
#r "nuget: Sparkdo.Timing.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.Timing.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.Timing.Abstractions&version=2.0.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Sparkdo.Timing.Abstractions&version=2.0.0-preview.2&prerelease
                    
Install as a Cake Tool

Sparkdo.Timing.Abstractions

Sparkdo.Timing.Abstractions 提供 Timing 的稳定公共契约,不依赖 Sparkdo runtime、Manifest authoring 或 Microsoft.Extensions。

主要 API:

  • IClock:提供 UTC 当前时间和当前业务时区时间。
  • ITimeZoneProvider:按时区标识解析 TimeZoneInfo
  • ICurrentTimeZoneProvider:提供应用当前业务时区。
  • TimingCapability.Id:稳定的 Sparkdo.Timing capability id。

只需要定义可替换实现或编写跨 provider 的业务库时引用本包。需要默认实现与自动注册时引用 Sparkdo.Timing

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 (2)

Showing the top 2 NuGet packages that depend on Sparkdo.Timing.Abstractions:

Package Downloads
Sparkdo.Timing

Sparkdo Timing 的默认 UTC 时钟与时区提供程序。

Sparkdo.Scheduler.Testing

Sparkdo Scheduler test-only helpers and conformance harness.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0-preview.2 57 7/20/2026
2.0.0-preview.1 58 7/18/2026