RealmDigital.SourceGenerators.MediatorRequestToController
0.0.9
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package RealmDigital.SourceGenerators.MediatorRequestToController --version 0.0.9
NuGet\Install-Package RealmDigital.SourceGenerators.MediatorRequestToController -Version 0.0.9
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.9" />
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.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: RealmDigital.SourceGenerators.MediatorRequestToController, 0.0.9"
#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.9 // Install RealmDigital.SourceGenerators.MediatorRequestToController as a Cake Tool #tool nuget:?package=RealmDigital.SourceGenerators.MediatorRequestToController&version=0.0.9
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.3" 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. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | 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.1
- System.Text.Json (>= 6.0.6)
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.32 | 142 | 11/26/2024 |
0.0.31 | 97 | 11/25/2024 |
0.0.30 | 201 | 6/5/2024 |
0.0.29 | 223 | 8/30/2023 |
0.0.28 | 443 | 6/22/2023 |
0.0.27 | 181 | 6/22/2023 |
0.0.26 | 208 | 5/2/2023 |
0.0.25 | 270 | 3/6/2023 |
0.0.24 | 282 | 2/17/2023 |
0.0.23 | 279 | 2/13/2023 |
0.0.22 | 415 | 1/27/2023 |
0.0.21 | 313 | 1/27/2023 |
0.0.20 | 382 | 1/20/2023 |
0.0.19 | 327 | 1/17/2023 |
0.0.18 | 335 | 1/13/2023 |
0.0.17 | 326 | 1/13/2023 |
0.0.16 | 386 | 12/2/2022 |
0.0.15 | 377 | 11/25/2022 |
0.0.14 | 381 | 11/15/2022 |
0.0.12 | 362 | 11/14/2022 |
0.0.11 | 383 | 11/14/2022 |
0.0.10 | 375 | 11/14/2022 |
0.0.9 | 392 | 11/14/2022 |
0.0.8 | 423 | 10/28/2022 |
0.0.7 | 414 | 10/27/2022 |
0.0.6 | 420 | 10/24/2022 |
0.0.5 | 429 | 10/24/2022 |
0.0.4 | 437 | 10/24/2022 |
0.0.3 | 414 | 10/24/2022 |
0.0.2 | 425 | 10/24/2022 |
0.0.1 | 450 | 10/24/2022 |