using GFramework.Core.Abstractions.State; namespace GFramework.Core.State; /// /// 表示状态变更事件的数据类 /// public sealed class StateChangedEvent { /// /// 获取变更前的旧状态 /// public IState? OldState { get; init; } /// /// 获取变更后的新状态 /// public IState? NewState { get; init; } }