using GFramework.Core.Abstractions.architecture;
namespace GFramework.Core.Abstractions.rule;
///
/// 上下文感知接口,用于为实现该接口的类提供设置和获取架构上下文的能力
///
public interface IContextAware
{
///
/// 设置架构上下文
///
/// 架构上下文对象,用于提供架构级别的服务和功能访问
void SetContext(IArchitectureContext context);
///
/// 获取架构上下文
///
/// 当前的架构上下文对象
IArchitectureContext GetContext();
}