using System; namespace SK.Framework { /// /// 普通事件 /// public class SimpleAction : AbstractAction { public SimpleAction(Action action) { onCompleted = action; } protected override void OnInvoke() { isCompleted = true; } } }