aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.IDE/Notifications/ProgressNotificationHandler.cs
blob: b364194008d5b93070b6a8fc9211afe4a01664e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #
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();
        }
    }
}
ass='footer'>generated by cgit v1.3.1 (git 2.54.0) at 2026-06-27 10:38:31 +0000