mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 08:44:29 +08:00
- 拆分 GameContextTests、ArchitectureServicesTests、RegistryInitializationHookBaseTests 与 Cqrs 测试辅助类型,消除批次内 MA0048 热点 - 修复 Core.Tests 零散可空性、集合抽象和测试辅助 warning,使受影响 Release 构建清零 - 更新 analyzer-warning-reduction 跟踪与 trace,记录 236 条仓库根 warning 基线和 45/50 停止点
18 lines
488 B
C#
18 lines
488 B
C#
namespace GFramework.Core.Tests.Resource;
|
|
|
|
/// <summary>
|
|
/// 表示 ResourceManager 测试使用的简单资源对象。
|
|
/// </summary>
|
|
public class TestResource
|
|
{
|
|
/// <summary>
|
|
/// 获取或设置资源内容。
|
|
/// </summary>
|
|
public string Content { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 获取或设置一个值,指示资源是否已经被测试加载器标记为已卸载。
|
|
/// </summary>
|
|
public bool IsDisposed { get; set; }
|
|
}
|