Klab.Toolkit.Common
2.2.4
See the version list below for details.
dotnet add package Klab.Toolkit.Common --version 2.2.4
NuGet\Install-Package Klab.Toolkit.Common -Version 2.2.4
<PackageReference Include="Klab.Toolkit.Common" Version="2.2.4" />
<PackageVersion Include="Klab.Toolkit.Common" Version="2.2.4" />
<PackageReference Include="Klab.Toolkit.Common" />
paket add Klab.Toolkit.Common --version 2.2.4
#r "nuget: Klab.Toolkit.Common, 2.2.4"
#:package Klab.Toolkit.Common@2.2.4
#addin nuget:?package=Klab.Toolkit.Common&version=2.2.4
#tool nuget:?package=Klab.Toolkit.Common&version=2.2.4
Klab.Toolkit.Common
Overview
The Klab.Toolkit.Common
package is a core component of the Klab.Toolkit solution. It provides a set of common classes and interfaces that are used across various projects within the solution. This package aims to promote code reuse, consistency, and flexibility by defining shared abstractions and utilities.
Purpose
The primary purpose of the Klab.Toolkit.Common
package is to define common classes and interfaces that can be utilized by other components of the Klab.Toolkit solution. By centralizing these definitions, the package helps to ensure that different parts of the solution can interact seamlessly and consistently.
Key Features
- Common Interfaces: Defines interfaces that are used across the solution to promote consistency and flexibility. For example, the
ITimeProvider
interface abstracts the system time, making it easier to test time-dependent code. - Utility Classes: Provides utility classes that offer common functionality needed by multiple components of the solution.
- Abstractions: Offers abstractions that help in decoupling components, making the system more modular and easier to maintain.
Example Usage
ITimeProvider Interface
The ITimeProvider
interface is used to abstract the system time. This is particularly useful for testing purposes, as it allows you to control the flow of time in your tests.
IRetryService Interface
The IRetryService
interface defines a common way to perform retry logic in the system. By using this interface, you can easily add retry functionality to any part of the solution without duplicating code.
Usage in Projects
To use the Klab.Toolkit.Common package in your projects call the Function on your Dependency Injection Container to register the services.
services.AddKlabToolkitCommon();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Klab.Toolkit.Results (>= 2.2.4)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Klab.Toolkit.Common:
Package | Downloads |
---|---|
Klab.Toolkit.DI
Package Description |
|
Klab.Toolkit.Logging
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
2.10.0 | 74 | 8/22/2025 |
2.9.0 | 162 | 8/3/2025 |
2.8.2 | 360 | 5/15/2025 |
2.8.1 | 219 | 4/24/2025 |
2.8.0 | 198 | 4/22/2025 |
2.7.3 | 174 | 4/13/2025 |
2.7.2 | 188 | 4/6/2025 |
2.7.1 | 187 | 4/3/2025 |
2.7.0 | 198 | 4/3/2025 |
2.6.0 | 517 | 3/24/2025 |
2.5.1 | 160 | 3/14/2025 |
2.5.0 | 150 | 2/24/2025 |
2.4.1 | 174 | 10/2/2024 |
2.4.0 | 161 | 10/2/2024 |
2.3.0 | 159 | 10/1/2024 |
2.2.4 | 166 | 9/30/2024 |
2.2.3 | 144 | 9/28/2024 |
2.2.2 | 189 | 9/20/2024 |
2.2.1 | 175 | 9/17/2024 |
2.2.0 | 176 | 9/17/2024 |
2.1.0 | 199 | 8/12/2024 |
2.0.0 | 239 | 12/28/2023 |
1.0.0 | 210 | 5/28/2023 |
0.3.0 | 206 | 5/28/2023 |
0.2.0 | 213 | 5/28/2023 |
0.1.0 | 197 | 5/28/2023 |