mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-25 13:33:28 +08:00
docs(architecture): 更新架构服务接口文档注释
- 将异步查询总线实例注释更正为异步查询执行器实例 - 为命令执行器添加返回值类型说明 - 为查询执行器添加返回值类型说明 - 为异步查询执行器添加返回值类型说明 - 移除多余空行并优化代码格式
This commit is contained in:
parent
d151558f96
commit
9427cc9dbf
@ -24,17 +24,20 @@ public interface IArchitectureServices : IContextAware
|
|||||||
IEventBus EventBus { get; }
|
IEventBus EventBus { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取命令总线
|
/// 获取命令执行器
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <returns>ICommandExecutor类型的命令执行器实例</returns>
|
||||||
public ICommandExecutor CommandExecutor { get; }
|
public ICommandExecutor CommandExecutor { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取查询总线
|
/// 获取查询执行器
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <returns>IQueryExecutor类型的查询执行器实例</returns>
|
||||||
public IQueryExecutor QueryExecutor { get; }
|
public IQueryExecutor QueryExecutor { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取异步查询总线
|
/// 获取异步查询执行器
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <returns>IAsyncQueryExecutor类型的异步查询执行器实例</returns>
|
||||||
public IAsyncQueryExecutor AsyncQueryExecutor { get; }
|
public IAsyncQueryExecutor AsyncQueryExecutor { get; }
|
||||||
}
|
}
|
||||||
@ -16,7 +16,7 @@ namespace GFramework.Core.architecture;
|
|||||||
public class ArchitectureServices : IArchitectureServices
|
public class ArchitectureServices : IArchitectureServices
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 异步查询总线实例
|
/// 异步查询执行器实例
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly IAsyncQueryExecutor _asyncQueryExecutor;
|
private readonly IAsyncQueryExecutor _asyncQueryExecutor;
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,6 @@ public class IocContainer : ContextAwareBase, IIocContainer
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
#region Register
|
#region Register
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user