修改文档
This commit is contained in:
parent
d85b5b6539
commit
36c8b15620
@ -69,8 +69,7 @@ builder.Services.AddMediatR(options => options.RegisterServicesFromAssembly(Asse
|
||||
```
|
||||
|
||||
## 使用 Mediator 请求管道处理 CQRS 中的命令
|
||||
|
||||

|
||||
=
|
||||
|
||||
`LoggingBehavior`、`ValidatorBehavior` 和 `TransactionBehavior`
|
||||
|
||||
@ -92,6 +91,12 @@ builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(ValidatorBehavio
|
||||
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(TransactionBehavior<,>));
|
||||
```
|
||||
|
||||
## 消息去重机制
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
## 实现 CQRS 中的 Query 模式
|
||||
|
||||
```csharp
|
||||
|
Loading…
Reference in New Issue
Block a user