Name | Details |
---|---|
MediatRItemExtensionV2K19 |
Extension for Visual Studio 2019 |
MediatRItemExtensionV2K22 |
Extension for Visual Studio 2022 |
This is a relatively simple VS extension that allows you to create necessary classes when u use MediatR
with FluentValidation
nuget packages. Also, allows to save time and redirect it to more important tasks that are on the board or in the queue.
From the box are available functionalities as:
- Save all classes in one file;
- Create a file for each class;
- Add import references (for
MediatR
andFluentValidation
); - Select how the request will be executed
Sync
orAsync
; - Select which type of operation you want to create;
- Specify the name of the folder/file;
- Use one name for the folder/file where will be stored information;
- Select option if you want to add
IStringLocalizer
to Validator or/and to the Handler; - Specify any base class which will be added to the operation class (
Query
,Command
,Notification
).
To understand more efficiently how you can use available functionalities please consult the using documentation/file.