Update behavior namespaces to InvokeAction for clarity

Renamed namespaces in PreprocessingBehavior and PostprocessingBehavior from .Action to .InvokeAction, and updated related using directives in DependencyInjection.cs. Added a folder entry for Common\Behaviors\Action\ in the project file for organization.
This commit is contained in:
2026-03-25 11:43:30 +01:00
parent aef59def7f
commit 90e8adbd36
4 changed files with 7 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ using ReC.Application.Results.Commands;
using ReC.Domain.Constants; using ReC.Domain.Constants;
using System.Text.Json; using System.Text.Json;
namespace ReC.Application.Common.Behaviors.Action; namespace ReC.Application.Common.Behaviors.InvokeAction;
public class PostprocessingBehavior(IRecDbContext context, ISender sender) : IPipelineBehavior<InvokeRecActionViewCommand, Unit> public class PostprocessingBehavior(IRecDbContext context, ISender sender) : IPipelineBehavior<InvokeRecActionViewCommand, Unit>
{ {

View File

@@ -6,7 +6,7 @@ using ReC.Application.Results.Commands;
using ReC.Domain.Constants; using ReC.Domain.Constants;
using System.Text.Json; using System.Text.Json;
namespace ReC.Application.Common.Behaviors.Action; namespace ReC.Application.Common.Behaviors.InvokeAction;
public class PreprocessingBehavior(IRecDbContext context, ISender sender) : IPipelineBehavior<InvokeRecActionViewCommand, Unit> public class PreprocessingBehavior(IRecDbContext context, ISender sender) : IPipelineBehavior<InvokeRecActionViewCommand, Unit>
{ {

View File

@@ -3,7 +3,7 @@ using MediatR;
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using ReC.Application.Common.Behaviors; using ReC.Application.Common.Behaviors;
using ReC.Application.Common.Behaviors.Action; using ReC.Application.Common.Behaviors.InvokeAction;
using ReC.Application.Common.Constants; using ReC.Application.Common.Constants;
using ReC.Application.Common.Options; using ReC.Application.Common.Options;
using ReC.Application.RecActions.Commands; using ReC.Application.RecActions.Commands;

View File

@@ -23,4 +23,8 @@
<ProjectReference Include="..\ReC.Domain\ReC.Domain.csproj" /> <ProjectReference Include="..\ReC.Domain\ReC.Domain.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Folder Include="Common\Behaviors\Action\" />
</ItemGroup>
</Project> </Project>