mirror of
https://gitee.com/langsisi_admin/serein-flow
synced 2026-04-11 10:26:34 +08:00
修改了无法添加基础节点的bug,增加WebSocket JSON ID字段,远程环境交互使用消息ID作为响应key。
This commit is contained in:
@@ -6,9 +6,16 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Serein.Library
|
||||
{
|
||||
/// <summary>
|
||||
/// 标识一个类中的某些字段需要生成相应代码
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class, Inherited = true)]
|
||||
internal sealed class AutoPropertyAttribute : Attribute
|
||||
public sealed class AutoPropertyAttribute : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
/// <para>属性路径</para>
|
||||
/// <para>CustomNode : 自定义节点</para>
|
||||
/// </summary>
|
||||
public string ValuePath = string.Empty;
|
||||
}
|
||||
|
||||
@@ -16,10 +23,19 @@ namespace Serein.Library
|
||||
/// 自动生成环境的属性
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Field, Inherited = true)]
|
||||
internal sealed class PropertyInfoAttribute : Attribute
|
||||
public sealed class PropertyInfoAttribute : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
/// 是否通知UI
|
||||
/// </summary>
|
||||
public bool IsNotification = false;
|
||||
/// <summary>
|
||||
/// 是否使用Console.WriteLine打印
|
||||
/// </summary>
|
||||
public bool IsPrint = false;
|
||||
/// <summary>
|
||||
/// 是否禁止参数进行修改(初始化后不能再通过setter修改)
|
||||
/// </summary>
|
||||
public bool IsProtection = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user