RealmDigital.SourceGenerators.MediatorRequestToController
0.0.30
dotnet add package RealmDigital.SourceGenerators.MediatorRequestToController --version 0.0.30
NuGet\Install-Package RealmDigital.SourceGenerators.MediatorRequestToController -Version 0.0.30
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="RealmDigital.SourceGenerators.MediatorRequestToController" Version="0.0.30" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RealmDigital.SourceGenerators.MediatorRequestToController --version 0.0.30
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RealmDigital.SourceGenerators.MediatorRequestToController, 0.0.30"
#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.
// Install RealmDigital.SourceGenerators.MediatorRequestToController as a Cake Addin #addin nuget:?package=RealmDigital.SourceGenerators.MediatorRequestToController&version=0.0.30 // Install RealmDigital.SourceGenerators.MediatorRequestToController as a Cake Tool #tool nuget:?package=RealmDigital.SourceGenerators.MediatorRequestToController&version=0.0.30
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MediatorRequestToController Generator
A .NET 6.0 MediatR IRequest to API Controller Generator.
With this project, you can easily have API controllers auto generated for all your MediatR Queries/Commands
How to use
Firstly, add the project from Nuget - RealmDigital.SourceGenerators.MediatorRequestToController.
Ensure the package is configured as an Analyser
<ItemGroup>
...
<PackageReference Include="RealmDigital.SourceGenerators.MediatorRequestToController" Version="0.0.12" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
</ItemGroup>
Then add an AdditionalFile in your .csproj named "MediatorRequestToControllerGenerator.json", like so:
<ItemGroup>
<AdditionalFiles Include="MediatorRequestToControllerGenerator.json" />
</ItemGroup>
Once that's done, add the settings file and change as required:
{
"Namespace": "AutogeneratedControllers",
"AdditionalNamespaces": [],
"ControllerBaseClass": "RealmDigital.Common.ApiController",
"InterfaceNameQuery": "IQuery",
"InterfaceNameCommand": "ICommand",
"NamespacePartToIgnoreForOpenApiTag": "Crud",
}
Product | Versions 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 was computed. 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. |
.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.
-
.NETStandard 2.0
- System.Collections.Immutable (>= 8.0.0)
- System.Text.Json (>= 8.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.0.30 | 177 | 6/5/2024 |
0.0.29 | 215 | 8/30/2023 |
0.0.28 | 433 | 6/22/2023 |
0.0.27 | 173 | 6/22/2023 |
0.0.26 | 200 | 5/2/2023 |
0.0.25 | 263 | 3/6/2023 |
0.0.24 | 274 | 2/17/2023 |
0.0.23 | 271 | 2/13/2023 |
0.0.22 | 407 | 1/27/2023 |
0.0.21 | 305 | 1/27/2023 |
0.0.20 | 374 | 1/20/2023 |
0.0.19 | 319 | 1/17/2023 |
0.0.18 | 327 | 1/13/2023 |
0.0.17 | 318 | 1/13/2023 |
0.0.16 | 373 | 12/2/2022 |
0.0.15 | 367 | 11/25/2022 |
0.0.14 | 371 | 11/15/2022 |
0.0.12 | 352 | 11/14/2022 |
0.0.11 | 373 | 11/14/2022 |
0.0.10 | 365 | 11/14/2022 |
0.0.9 | 382 | 11/14/2022 |
0.0.8 | 413 | 10/28/2022 |
0.0.7 | 404 | 10/27/2022 |
0.0.6 | 408 | 10/24/2022 |
0.0.5 | 419 | 10/24/2022 |
0.0.4 | 427 | 10/24/2022 |
0.0.3 | 404 | 10/24/2022 |
0.0.2 | 415 | 10/24/2022 |
0.0.1 | 440 | 10/24/2022 |