using Serein.Library.Api;
using Serein.Library.Utils;
using System;
using System.Linq;
namespace Serein.Library
{
///
/// 节点入参参数详情
///
[NodeProperty(ValuePath = NodeValuePath.Parameter)]
public partial class ParameterDetails
{
private readonly IFlowEnvironment env;
///
/// 所在的节点
///
[PropertyInfo(IsProtection = true)]
private NodeModelBase _nodeModel;
///
/// 参数索引
///
[PropertyInfo]
private int _index;
///
/// 是否为显式参数(固定值/表达式)
/// 如果为 true ,则使用UI输入的文本值作为入参数据(过程中会尽可能转为类型需要的数据)。
/// 如果为 false ,则根据 ArgDataSourceType 调用相应节点的GetFlowData()方法,获取返回的数据作为入参数据。
///
[PropertyInfo(IsNotification = true)]
private bool _isExplicitData ;
///
/// 转换器 IEnumConvertor<,>
///
[PropertyInfo]
private Func