Files
serein-flow/Library/Api/IEmbeddedContent.cs

42 lines
770 B
C#
Raw Normal View History

2025-03-14 16:04:06 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Serein.Library.Api
{
/// <summary>
/// 流程中的控件
/// </summary>
2025-07-04 21:31:07 +08:00
public interface IFlowUIControl
2025-03-14 16:04:06 +08:00
{
/// <summary>
/// 节点执行事件
/// </summary>
void OnExecuting(object data);
}
/// <summary>
/// 自定义UI显示
/// </summary>
public interface IEmbeddedContent
{
/// <summary>
/// 获取用户控件WPF
/// </summary>
object GetUserControl();
/// <summary>
/// 获取窗体控件
/// </summary>
/// <returns></returns>
2025-07-04 21:31:07 +08:00
IFlowUIControl GetFlowControl();
2025-03-14 16:04:06 +08:00
}
}