CommandStation.Abstractions 7.1.6

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

CommandStation.Abstractions

The protocol- and transport-neutral contracts shared by the model-railway command-station libraries. It has no dependency on any particular command station or wire format, so you can code against the interfaces and swap implementations underneath.

It defines the domain API (ICommandStation plus capability interfaces like ILocoControl, IAccessoryControl, ITrackPowerControl and ISystemInfoProvider), the transport and framing abstractions (ITransport, IFrameReader), and the shared domain model (LocoInfoData, SystemState, DccSpeedMode, and friends).

You normally don't install this directly — it comes in as a dependency of an implementation such as Z21. Reach for it when you want to write code (or your own command station) against the neutral abstractions.

See the project page. Licensed under GPL-3.0.

Product Compatible and additional computed target framework versions.
.NET 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages (3)

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

Package Downloads
Z21

Z21Client partially implements the z21 lan protocoll for the digital command center z21/Z21 from Roco/Fleischmann.

CommandStation.Transport.Udp

UDP transport (ITransport) for model-railway command stations.

OpenSpeed.Adapter

OpenSpeed hardware adapters: REST speed-sensor client and Z21 DCC controller. Implements OpenSpeed.Core interfaces.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.1.6 92 6/5/2026
7.1.3 94 6/5/2026
7.1.2 83 6/5/2026
7.0.8 101 6/5/2026
7.0.6 81 6/5/2026
7.0.5 91 6/5/2026
7.0.2-g7efc542658 123 6/5/2026
7.0.0-test 58 6/5/2026