CasCap.Common.Abstractions 4.8.1

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

CasCap.Common.Abstractions

Core interface definitions shared across the CasCap ecosystem. This project provides the foundational contracts that other CasCap libraries and applications may depend upon.

Purpose

This library contains no concrete implementations — only interfaces and abstractions that define the contracts between components.

Target frameworks: netstandard2.0, net8.0, net9.0, net10.0

Interfaces

Interface Description
IAppConfig Marker interface implemented by all application configuration records to allow easy identification and generic constraint usage
IFeature<T> Identifies a service launched via a bitwise feature-flag enum — exposes the FeatureType property and an ExecuteAsync entry point
IFeatureOptions<T> Pairs with IFeature<T> to carry the enabled AppMode flags into the BackgroundService launcher
IEventSink<T> Generic event sink contract. Domain events are fanned out to every registered IEventSink<T> implementation in parallel
ILocalCache Abstraction for an in-process cache provider supporting Get, Set, Delete, and DeleteAll
IMyBlob Represents a blob with associated metadata (bytes, DateCreatedUtc, BlobName, SizeInBytes, HasImage)
INotifier Abstracts a notification service capable of sending and receiving messages with optional attachment support
INotificationMessage Represents an outgoing notification message (text, sender, recipients, attachments)
INotificationAttachment Metadata for an attachment received as part of a notification (Id, ContentType)
INotificationGroup Represents a named group in a notification service (Id, Name, members)
INotificationResponse Response returned after sending a notification (Timestamp)
IReceivedNotification Represents a notification received from an external messaging service (Sender, GroupId, Message, attachments)

IEventSink<T> Contract

Task InitializeAsync(CancellationToken cancellationToken);
Task WriteEvent(T @event, CancellationToken cancellationToken = default);
IAsyncEnumerable<T> GetEvents(string? id = null, int limit = 1000, CancellationToken cancellationToken = default);
Task HousekeepingAsync(IReadOnlyCollection<string> validIds, CancellationToken cancellationToken = default);

InitializeAsync and HousekeepingAsync have default no-op implementations so that sink authors only need to implement WriteEvent and GetEvents.

Dependencies

The only valid dependencies for this library are other Abstractions-style libraries.

NuGet Packages

Package
Microsoft.Extensions.Hosting.Abstractions

This project has no project references.

Product 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 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 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on CasCap.Common.Abstractions:

Package Downloads
CasCap.Common.Caching

Helper library for local and remote object caching.

CasCap.Common.Services

Feature-flag background service launcher using bitwise AppMode flags to activate IFeature implementations.

CasCap.Common.Configuration

Configuration bootstrapping helpers — standard IConfiguration pipeline setup and validated IOptions binding for IAppConfig records.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.8.1 0 4/2/2026
4.8.1-2026-04-updates.6 0 4/1/2026
4.8.0 69 4/1/2026