mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 00:39:00 +08:00
- 实现 ArchitectureContext 类,提供对系统、模型、工具等组件的访问 - 集成 CQRS runtime,支持命令、查询、事件的执行管理 - 添加服务缓存机制,优化容器解析性能 - 实现并发安全的 CQRS runtime 懒加载 - 提供同步和异步的请求处理方法 - 支持优先级排序的服务实例获取 - 添加完整的单元测试覆盖构造函数、查询、命令、事件等功能 - 配置测试项目依赖和全局引用 - 实现共享的 CQRS 测试运行时支持
28 lines
1.0 KiB
C#
28 lines
1.0 KiB
C#
// Copyright (c) 2026 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;
|
|
global using System.Collections.Generic;
|
|
global using System.Diagnostics;
|
|
global using System.Linq;
|
|
global using System.Reflection;
|
|
global using System.Runtime.CompilerServices;
|
|
global using System.Threading;
|
|
global using System.Threading.Tasks;
|
|
global using GFramework.Tests.Shared;
|
|
global using Microsoft.Extensions.DependencyInjection;
|
|
global using Moq;
|
|
global using NUnit.Compatibility;
|
|
global using NUnit.Framework;
|