Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2924_DotNetCoreMigration/HeuristicLab.PluginInfrastructure/3.3/Interfaces/IRunner.cs @ 16993

Last change on this file since 16993 was 16993, checked in by dpiringe, 5 years ago

#2924:

  • added IEnumerable<T> GetInstances<T>(params object[] args) where T: class and IEnumerable<object> GetInstances(Type type, params object[] args) method to IApplicationManager and implemented them in LightweightApplicationManager -> to instantiate types with specific constructor arguments
  • added RunnerState State { get; } property in IRunnerHost, was already in RunnerHost
  • added user authentication for NativeRunnerHost
  • added optional check for a running docker daemon and available image for type DockerRunnerHost + Exception DockerException
  • added caching of the saved IApplication in ApplicationRunner to prevent a new instance every get call
  • removed System.ServiceModel.Primitives NuGet package
  • lots of formatting
File size: 518 bytes
Line 
1using System.Collections.Generic;
2
3namespace HeuristicLab.PluginInfrastructure {
4  public interface IRunner {
5    /// <summary>
6    /// Set this to true, if console output should be disabled.
7    /// </summary>
8    bool QuietMode { get; set; }
9
10    /// <summary>
11    /// Assemblies which the child process needs to load.
12    /// </summary>
13    IEnumerable<AssemblyInfo> AssembliesToLoad { get; set; }
14
15    /// <summary>
16    /// Method to run the runner.
17    /// </summary>
18    void Run();
19  }
20}
Note: See TracBrowser for help on using the repository browser.