mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
- 完整介绍 CQRS 核心概念包括命令、查询、处理器和分发器 - 提供命令和查询的定义与实现示例代码 - 详细介绍处理器编写方法和注册流程 - 说明管道行为(Behaviors)的使用方式 - 展示通知(Notification)和流式处理功能 - 提供最佳实践和常见问题解决方案 - 包含完整的 API 参考和用法示例
21 lines
831 B
C#
21 lines
831 B
C#
// Copyright (c) 2025 GeWuYou
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
global using System;
|
|
global using System.Collections.Generic;
|
|
global using System.Runtime;
|
|
global using System.Linq;
|
|
global using System.Threading;
|
|
global using System.Threading.Tasks;
|
|
global using Microsoft.Extensions.DependencyInjection;
|