SrtsNetLayer.Generator
0.2.1
dotnet tool install --global SrtsNetLayer.Generator --version 0.2.1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local SrtsNetLayer.Generator --version 0.2.1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=SrtsNetLayer.Generator&version=0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package SrtsNetLayer.Generator --version 0.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SignalR TypeScript Interface Network Layer Generator
Nullability
For classes with Type-Parameters like BaseType<T>
, consider annotating it with where T : notnull
, otherwise nullability mismatches may occur, since e.g. a number can be null in TypeScript but not in C#/DotNet.
Alternatively annotate the field/property as nullable with T? theField
so it is clear that it can be null, even for primiteives and other value types.
Product | Versions 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.