BaseSoraEventArgs.IsContinueEventChain property
是否在处理本次事件后再次触发其他事件,默认为触发[true
]
如:处理Command后可以将此值设置为false
来阻止后续的事件触发,为true
时则会触发其他相匹配的指令和事件
如果出现了不同表达式同时被触发且优先级相同的情况,则这几个指令的执行顺序将是不确定的,请避免这种情况的发生
public bool IsContinueEventChain { get; set; }
See Also
- class BaseSoraEventArgs
- namespace Sora.EventArgs.SoraEvent