using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.Scripting.IDE.Notifications { public class ProgressNotificationHandler : IDisposable { private Action _disposeAction; public ProgressNotificationHandler(Action disposeAction) { _disposeAction = disposeAction; } public void Dispose() { _disposeAction?.Invoke(); } } }