This commit is contained in:
owenchen committed 2026-05-12 10:09:31 +08:00
1 parent 31fbe199c1
commit 1c0c83af5f
469 files changed
+62544 -5

No files matched your search

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CloudBuilder.Core.DependencyInjection.EventBuses
{
/// <summary>
/// 定义事件数据,所有事件都要实现该接口
/// </summary>
public class EventData
{
/// <summary>
/// 获取 事件编号
/// </summary>
public string? EventId { get; set; }
/// <summary>
/// 获取 事件发生的时间
/// </summary>
public DateTime EventTime { get; } = DateTime.Now;
/// <summary>
/// 获取或设置 事件源,触发事件的对象
/// </summary>
public object? EventSource { get; set; }
}
}