Closed
How to get running project object from c#
Hi,
I want to create a component similar to TestHarness. How can I refer to the running project or the project containing my component from c# code?
This content is closed to future replies and is no longer being maintained or updated.
Links may no longer function. If you have a similar request, please write a new post.
Hi,
I want to create a component similar to TestHarness. How can I refer to the running project or the project containing my component from c# code?
using OpenSpan.Runtime;
using System.Collections.Generic;
public static List<RuntimeProject> GetLoadedProjects()
{
List<RuntimeProject> runtimeProjectList = new List<RuntimeProject>();
foreach (IRuntimeProject loadedProject in (IEnumerable<IRuntimeProject>) RuntimeHost.LoadedProjects)
runtimeProjectList.Add((RuntimeProject) LoadedProjects);
return runtimeProjectList;
}
This method will return the list of all loaded project in Runtime.
Question
Question Solved
Question Solved
Question
Question
Question Solved
Question
Question
Question
Question
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.