From 6869b91f70758b818e16c551e777128a1b339814 Mon Sep 17 00:00:00 2001 From: fengjiayi <12821976+ning_xi@user.noreply.gitee.com> Date: Mon, 25 Aug 2025 11:09:36 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=BF=AE=E6=94=B9=E4=BA=86=20IFlowContext?= =?UTF-8?q?=20=E6=8E=A5=E5=8F=A3=E7=9A=84Tag,=E7=A7=BB=E9=99=A4=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/Api/IFlowContext.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/Api/IFlowContext.cs b/Library/Api/IFlowContext.cs index 5dc0344..0dd624d 100644 --- a/Library/Api/IFlowContext.cs +++ b/Library/Api/IFlowContext.cs @@ -27,9 +27,10 @@ namespace Serein.Library.Api /// /// 用于同一个流程上下文中共享、存储任意数据 /// 流程完毕时,如果存储的对象实现了 IDisposable 接口,将会自动调用 - /// 谨慎使用,注意数据的生命周期和内存管理 + /// 该属性的 set 仅限内部访问,如需赋值,请通过 SetTag() + /// 请谨慎使用,请注意数据的生命周期和内存管理 /// - object? Tag { get; set; } + object? Tag { get; } /// /// 运行环境