SquidStd.Abstractions
0.9.0
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 SquidStd.Abstractions --version 0.9.0
NuGet\Install-Package SquidStd.Abstractions -Version 0.9.0
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="SquidStd.Abstractions" Version="0.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SquidStd.Abstractions" Version="0.9.0" />
<PackageReference Include="SquidStd.Abstractions" />
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 SquidStd.Abstractions --version 0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SquidStd.Abstractions, 0.9.0"
#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 SquidStd.Abstractions@0.9.0
#: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=SquidStd.Abstractions&version=0.9.0
#tool nuget:?package=SquidStd.Abstractions&version=0.9.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<h1 align="center">SquidStd.Abstractions</h1>
DryIoc-based dependency-injection plumbing for SquidStd. It defines the ISquidStdService lifecycle
contract and the container extensions used to register services and configuration sections in a uniform,
discoverable way (tracked through ordered registration lists).
Install
dotnet add package SquidStd.Abstractions
Usage
using DryIoc;
using SquidStd.Abstractions.Attributes;
using SquidStd.Abstractions.Extensions.Config;
using SquidStd.Abstractions.Extensions.Services;
var container = new Container();
container.RegisterStdService<IMyService, MyService>();
container.RegisterConfigSection<MyConfig>("my");
Key types
| Type | Purpose |
|---|---|
ISquidStdService |
Async start/stop lifecycle for managed services. |
RegisterEventListenerAttribute |
Marks event listeners for generated registration. |
RegisterStdServiceAttribute |
Marks services for generated registration. |
RegisterConfigSectionAttribute |
Marks config sections for generated registration. |
RegisterStdServiceExtension |
RegisterStdService<,> container extension. |
RegisterConfigSectionExtension |
RegisterConfigSection<> container extension. |
ServiceRegistrationData |
Ordered service registration record. |
ConfigRegistrationData |
Config section registration record. |
Related
- Tutorial: Source generators: registration
License
MIT — part of SquidStd.
| Product | Versions 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
- SquidStd.Core (>= 0.9.0)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on SquidStd.Abstractions:
| Package | Downloads |
|---|---|
|
SquidStd.Messaging.Abstractions
Package Description |
|
|
SquidStd.Services.Core
Package Description |
|
|
SquidStd.Storage
Package Description |
|
|
SquidStd.Caching.Abstractions
Package Description |
|
|
SquidStd.Database.Abstractions
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.25.0 | 0 | 7/6/2026 |
| 0.24.1 | 0 | 7/6/2026 |
| 0.24.0 | 6 | 7/6/2026 |
| 0.23.0 | 95 | 7/4/2026 |
| 0.22.0 | 92 | 7/4/2026 |
| 0.21.0 | 132 | 7/3/2026 |
| 0.20.0 | 122 | 7/3/2026 |
| 0.19.0 | 126 | 7/3/2026 |
| 0.18.0 | 132 | 7/3/2026 |
| 0.17.0 | 138 | 7/3/2026 |
| 0.16.0 | 144 | 7/3/2026 |
| 0.15.0 | 197 | 7/2/2026 |
| 0.14.1 | 199 | 7/2/2026 |
| 0.14.0 | 211 | 7/2/2026 |
| 0.13.0 | 219 | 7/2/2026 |
| 0.12.0 | 217 | 7/2/2026 |
| 0.11.0 | 222 | 7/2/2026 |
| 0.10.0 | 278 | 6/30/2026 |
| 0.9.0 | 341 | 6/29/2026 |
| 0.8.0 | 337 | 6/28/2026 |
Loading failed