2024-10-20 12:10:57 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Serein.Library
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 方法描述信息
|
|
|
|
|
|
/// </summary>
|
2024-12-29 21:26:03 +08:00
|
|
|
|
public class MethodDetailsInfo
|
2024-10-20 12:10:57 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
2024-11-03 18:28:16 +08:00
|
|
|
|
/// 属于哪个程序集
|
2024-10-20 12:10:57 +08:00
|
|
|
|
/// </summary>
|
2024-11-03 18:28:16 +08:00
|
|
|
|
public string AssemblyName { get; set; }
|
2024-10-20 12:10:57 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 方法名称
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string MethodName { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 节点类型
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string NodeType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-05-27 18:32:40 +08:00
|
|
|
|
/// 方法别名
|
2024-10-20 12:10:57 +08:00
|
|
|
|
/// </summary>
|
2024-10-28 15:21:08 +08:00
|
|
|
|
public string MethodAnotherName { get; set; }
|
2024-10-20 12:10:57 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 参数内容
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
|
|
public ParameterDetailsInfo[] ParameterDetailsInfos { get; set; }
|
|
|
|
|
|
|
2024-11-02 16:48:40 +08:00
|
|
|
|
/// <summary>
|
2025-07-07 20:40:24 +08:00
|
|
|
|
/// 可选参数信息(-1表示不存在)
|
2024-11-02 16:48:40 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int IsParamsArgIndex { get; set; }
|
|
|
|
|
|
|
2025-07-07 20:40:24 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否为异步方法
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool IsAsync{ get; set; }
|
|
|
|
|
|
|
2024-10-20 12:10:57 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 出参类型
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public string ReturnTypeFullName { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|