-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathYantraSettings.cs
More file actions
39 lines (35 loc) · 793 Bytes
/
YantraSettings.cs
File metadata and controls
39 lines (35 loc) · 793 Bytes
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
32
33
34
35
36
37
38
39
using OriginalDebugger = YantraJS.Debugger.JSDebugger;
using OriginalV8Debugger = YantraJS.Core.Debugger.V8Debugger;
namespace JavaScriptEngineSwitcher.Yantra
{
/// <summary>
/// Settings of the Yantra JS engine
/// </summary>
public sealed class YantraSettings
{
/// <summary>
/// Gets or sets a JS debugging console callback
/// </summary>
public YantraJsConsoleCallback ConsoleCallback
{
get;
set;
}
/// <summary>
/// Gets or sets an instance of JS debugger (for example, the <see cref="OriginalV8Debugger"/>)
/// </summary>
public OriginalDebugger Debugger
{
get;
set;
}
/// <summary>
/// Constructs an instance of the Yantra settings
/// </summary>
public YantraSettings()
{
ConsoleCallback = null;
Debugger = null;
}
}
}