Example #1
0
        public static MockWorkspace CreateMockWorkspace(string workspaceFolder, string interpreterSetting)
        {
            MockWorkspaceSettings aggregatedSettings = new MockWorkspaceSettings(
                new Dictionary <string, string> {
                { "Interpreter", interpreterSetting }
            }
                );
            MockWorkspaceSettingsManager settingsManager = new MockWorkspaceSettingsManager(aggregatedSettings);

            return(new MockWorkspace(workspaceFolder, settingsManager));
        }
Example #2
0
 public MockWorkspace(string location, MockWorkspaceSettingsManager settingsManager)
 {
     Location        = location;
     SettingsManager = settingsManager;
 }
Example #3
0
 public MockWorkspace(string location)
 {
     Location        = location;
     SettingsManager = new MockWorkspaceSettingsManager();
 }