using Serein.Library.Api;
using Serein.Library.Utils;
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace Serein.Library
{
///
/// 节点入参参数详情
///
[NodeProperty(ValuePath = NodeValuePath.Parameter)]
public partial class ParameterDetails
{
// private readonly IFlowEnvironment env;
///
/// 所在的节点
///
[PropertyInfo(IsProtection = true)]
private IFlowNode _nodeModel;
///
/// 参数索引
///
[PropertyInfo]
private int _index;
///
/// 是否为显式参数(固定值/表达式)
/// 如果为 true ,则使用输入的文本值作为入参数据。
/// 如果为 false ,则在当前流程上下文中,根据 ArgDataSourceNodeGuid 查找到对应节点,并根据 ArgDataSourceNodeGuid 判断如何获取其返回的数据,以此作为入参数据。
///
[PropertyInfo(IsNotification = true, IsVerify = true)]
private bool _isExplicitData ;
/////
///// 转换器 IEnumConvertor<,>
/////
//[PropertyInfo]
//private Func