SFSharp.Abstractions
5.0.0
dotnet add package SFSharp.Abstractions --version 5.0.0
NuGet\Install-Package SFSharp.Abstractions -Version 5.0.0
<PackageReference Include="SFSharp.Abstractions" Version="5.0.0" />
<PackageVersion Include="SFSharp.Abstractions" Version="5.0.0" />
<PackageReference Include="SFSharp.Abstractions" />
paket add SFSharp.Abstractions --version 5.0.0
#r "nuget: SFSharp.Abstractions, 5.0.0"
#:package SFSharp.Abstractions@5.0.0
#addin nuget:?package=SFSharp.Abstractions&version=5.0.0
#tool nuget:?package=SFSharp.Abstractions&version=5.0.0
SFSharp.Abstractions
Plugin contracts for the SF managed host. Targets .NET 10 and C# 14.
The NuGet package is SFSharp.Abstractions; the assembly remains SF.Abstractions.dll
and namespaces remain under SFSharp.Abstractions.
Use IModuleContext.SF to access separate GTA and SA-MP services. Native-backed
operations require the game thread; use InvokeOnMainThreadAsync from workers.
Register subscriptions and resources with the module context so they are released
on stop. SFModuleBase is an optional lifecycle helper; ISFModule only requires
RunAsync(IModuleContext).
The host supplies this assembly. Plugin deployments must not bundle a second copy.
Use ExcludeAssets="runtime" on the package reference in host plugins and exclude
host DLLs from their deployment archives. Ordinary .NET tools can use normal references.
Bitstreams and SA-MP parsers are provided by the separate SFSharp.Protocol package.
Version 5 changes the module lifecycle contract; rebuild plugins against the new API.
| 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. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SFSharp.Abstractions:
| Package | Downloads |
|---|---|
|
SFSharp.Protocol
Native-free SA-MP packet and RPC models, parsers and RakNet-compatible managed bitstreams. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0 | 119 | 10/22/2026 |