public string UseJobsFromMainAssembly(string sessionId) { var j = new JobService(); var jf = new JobFilter4(); jf.MaxNumberToRetrieve = 100; var jobs = j.GetJobs4(sessionId, jf); return($"Main dll function returned {jobs.JobCount.ToString()} jobs"); }
public JobList GetSomeJobs(string sessionId) { //This is called from the main project. //When merged it will be part of the same dll. var j = new JobService(); var jf = new JobFilter4(); jf.MaxNumberToRetrieve = 100; return(j.GetJobs4(sessionId, jf)); }
public void Test(string sessionId) { var j = new JobService(); while (true) { Debugger.Break(); var jf = new JobFilter4(); jf.MaxNumberToRetrieve = 100; var jobs = j.GetJobs4(sessionId, jf); int jobCount = jobs.JobCount; Trace.WriteLine($"Found {jobCount} jobs"); Trace.WriteLine(ReflectionHelper.PropertyList(jf)); } }