SquidStd.Abstractions 0.7.0

dotnet add package SquidStd.Abstractions --version 0.7.0
                    
NuGet\Install-Package SquidStd.Abstractions -Version 0.7.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.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SquidStd.Abstractions" Version="0.7.0" />
                    
Directory.Packages.props
<PackageReference Include="SquidStd.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 SquidStd.Abstractions --version 0.7.0
                    
#r "nuget: SquidStd.Abstractions, 0.7.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.7.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.7.0
                    
Install as a Cake Addin
#tool nuget:?package=SquidStd.Abstractions&version=0.7.0
                    
Install as a Cake Tool

<p align="center"> <img src="https://raw.githubusercontent.com/tgiachi/squid-std/main/assets/icon.png" alt="SquidStd" width="120" height="120" /> </p>

<h1 align="center">SquidStd.Abstractions</h1>

<p align="center"> <a href="https://www.nuget.org/packages/SquidStd.Abstractions/"><img src="https://img.shields.io/nuget/v/SquidStd.Abstractions.svg" alt="NuGet" /></a> <img src="https://img.shields.io/nuget/dt/SquidStd.Abstractions.svg" alt="Downloads" /> <a href="https://tgiachi.github.io/squid-std/articles/abstractions.html"><img src="https://img.shields.io/badge/docs-DocFX-1390A3.svg" alt="docs" /></a> <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="license" /> </p>

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

Features

  • ISquidStdService — a StartAsync/StopAsync lifecycle contract for managed services.
  • RegisterEventListenerAttribute — mark IEventListener<TEvent> classes for generated registration.
  • RegisterStdServiceAttribute — mark service implementations for generated lifecycle registration.
  • RegisterConfigSectionAttribute — mark config models for generated config-section registration.
  • RegisterStdService<TService, TImplementation>() — register a singleton service and record it in the ordered service list (with optional priority).
  • RegisterConfigSection<TConfig>(sectionName) — register a YAML config section for the config manager.
  • AddToRegisterTypedList(...) — maintain ordered registration lists in the container.

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.

License

MIT — part of SquidStd.

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.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on SquidStd.Abstractions:

Package Downloads
SquidStd.Services.Core

Package Description

SquidStd.Messaging.Abstractions

Package Description

SquidStd.Caching.Abstractions

Package Description

SquidStd.Database.Abstractions

Package Description

SquidStd.Scripting.Lua

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.0 61 6/26/2026
0.6.0 88 6/25/2026
0.5.1 101 6/25/2026
0.5.0 130 6/24/2026
0.4.0 139 6/23/2026
0.3.0 124 6/23/2026
0.2.0 133 6/22/2026
0.1.0 97 6/22/2026