namespace XFEEDToolBox.Core.Execution; /// Only the real native trading executor may authorize automatic dismissal of its original Pause menu. public interface ITradeRunMenuRecovery { IDisposable EnterRunningMenuRecovery(Func isRunning,CancellationToken token); } internal sealed class EmptyTradeRunMenuRecovery:IDisposable { internal static readonly EmptyTradeRunMenuRecovery Instance=new(); public void Dispose(){} }