mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 08:44:29 +08:00
- 修复 ReadYamlAsync 在取消时错误包装异常的问题,并对齐 IntegerTryParseDelegate 的可空性签名 - 更新 Ioc 与 Query 测试辅助类型的 XML 文档,并让 IPrioritizedService 复用 IMixedService 的 Name 契约 - 补充 YamlConfigLoader 取消语义回归测试并同步 analyzer warning reduction 跟踪
18 lines
393 B
C#
18 lines
393 B
C#
namespace GFramework.Core.Tests.Ioc;
|
|
|
|
/// <summary>
|
|
/// 实现优先级的服务
|
|
/// </summary>
|
|
public sealed class PrioritizedService : IPrioritizedService
|
|
{
|
|
/// <summary>
|
|
/// 获取或设置优先级
|
|
/// </summary>
|
|
public int Priority { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置服务名称
|
|
/// </summary>
|
|
public string? Name { get; set; }
|
|
}
|