forked from dimven/NavisPythonShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINpsConfig.cs
More file actions
25 lines (23 loc) · 761 Bytes
/
INpsConfig.cs
File metadata and controls
25 lines (23 loc) · 761 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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NavisPythonShell.NpsRuntime
{
public interface IRpsConfig
{
/// <summary>
/// Returns a list of string variables that the Runtime will add to
/// the scripts scope under "__vars__".
///
/// In NavisPythonShell, these are read from the NavisPythonShell.xml file.
/// </summary>
IDictionary<string, string> GetVariables();
/// <summary>
/// Returns a list of paths to add to the python engine search paths.
///
/// In NavisPythonShell, these are read from the NavisPythonShell.xml file.
/// </summary>
IEnumerable<string> GetSearchPaths();
}
}