blob: 768f4bb0d1ca3095f26fed3da8bb096bf88edf6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Scripting.Basic;
using Tango.Scripting.Core;
namespace Tango.FSE.Procedures
{
public class BreakPointRequestEventArgs : EventArgs
{
private Action _releaseAction;
public int LineNumber { get; set; }
public Script Script { get; set; }
public List<ScriptBreakPointSymbol> Symbols { get; set; }
public BreakPointRequestEventArgs(Action releaseAction)
{
Symbols = new List<ScriptBreakPointSymbol>();
_releaseAction = releaseAction;
}
public void Release()
{
_releaseAction?.Invoke();
}
}
}
|