Df.ServiceControllerExtensions
1.0.0.8
dotnet add package Df.ServiceControllerExtensions --version 1.0.0.8
NuGet\Install-Package Df.ServiceControllerExtensions -Version 1.0.0.8
<PackageReference Include="Df.ServiceControllerExtensions" Version="1.0.0.8" />
<PackageVersion Include="Df.ServiceControllerExtensions" Version="1.0.0.8" />
<PackageReference Include="Df.ServiceControllerExtensions" />
paket add Df.ServiceControllerExtensions --version 1.0.0.8
#r "nuget: Df.ServiceControllerExtensions, 1.0.0.8"
#:package Df.ServiceControllerExtensions@1.0.0.8
#addin nuget:?package=Df.ServiceControllerExtensions&version=1.0.0.8
#tool nuget:?package=Df.ServiceControllerExtensions&version=1.0.0.8
General extension methods for the ServiceCollection class
<span style="color:lightblue">Methods</span>
<span style="color:lightblue">AddConfiguration</span>
Adds configuration of type T to the service collection and returns the object. Convenient when you want a configuration without the IOptions wrapper.
Example
services.AddConfiguration<QueueSettings>(configuration);
whereconfigurationisIConfiguration.
This will add a singleton instance ofQueueSettingstoservices.If you need the
QueueSettingsright away,AddConfigurationreturns the instance:
var myQueueSettings = services.AddConfiguration<QueueSettings>(configuration);
<span style="color:pink">NuGet package</span>
https://www.nuget.org/packages/Df.ServiceControllerExtensions/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. 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 is compatible. 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 is compatible. 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. |
-
net7.0
- Microsoft.Extensions.Configuration (>= 7.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 7.0.4)
- Microsoft.Extensions.DependencyInjection (>= 7.0.0)
-
net8.0
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 8.0.2)
- Microsoft.Extensions.DependencyInjection (>= 8.0.1)
-
net9.0
- Microsoft.Extensions.Configuration (>= 9.0.9)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.9)
- Microsoft.Extensions.DependencyInjection (>= 9.0.9)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0.8 | 246 | 9/22/2025 |
| 1.0.0.7-beta | 259 | 9/19/2025 |
| 1.0.0.2 | 274 | 9/12/2023 |